WordPress.org

Ready to get started?Download WordPress

Forums

Form Manager
Form Manager email sent with WP Better Emails? (3 posts)

  1. allanit
    Member
    Posted 2 years ago #

    Form Manager is without doubt the best form plugins I've come across. Simple to use and intuitive. But (and isn’t there always a but :) ) I have another plugin (WP Better Emails) that I would like to pass the form data to, to send the email. Is there a way to pass the form data to WP Better Emails?

    http://wordpress.org/extend/plugins/wordpress-form-manager/

  2. allanit
    Member
    Posted 2 years ago #

    A bit more information.

    According to WP Better Emails

    WP Better Emails wraps every "plain/text" email sent with the WordPress function wp_mail().

    So I changed the Advanced Settings> Send method> to WordPress wp_mail()

    But the email is still only in plain text when sent from Form Manager. And yes the accounts I am sending to can receive html mail.

    Thanks for any help anyone can give
    AllanIT

  3. hoffcamp
    Member
    Plugin Author

    Posted 2 years ago #

    The e-mails have the content-type set to text/html by default, so that may be why they aren't getting caught.

    The function for sending emails is defined at line 372 of helpers.php (fm_helper_sendEmail). This function builds the headers & parses the e-mail template, then sends it off to fm_sendEmail, which does nothing more than select wp_mail() or mail().

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic