The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. allanit
    Posted 4 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?


  2. allanit
    Posted 4 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

  3. hoffcamp
    Plugin Author

    Posted 4 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