• Hi,

    Sorry I’m back so soon. I finally got my emails to send via Mailgun. But now I have a new issue. Emails are sending in plain text. I want to use BuddyPress HTML Email that I have setup.

    Any help appreciated?

Viewing 1 replies (of 1 total)
  • Plugin Author Boone Gorges

    (@boonebgorges)

    Sounds to me that the Mailgun plugin probably overrides the “pluggable” wp_mail() function. If BuddyPress detects that wp_mail() is defined elsewhere than wp-includes/pluggable.php, it’ll disable HTML emails. This is mostly out of an abundance of caution, since various wp_mail() drop-ins may not be compatible with BP’s HTML mail system.

    You can try forcing BP’s email system like this:

    
    add_filter( 'bp_email_use_wp_mail', '__return_false' );
    

    and see what happens.

    Note that this is not really a BPGES issue, but more likely an artifact of the interaction between BP and mail plugins.

Viewing 1 replies (of 1 total)
  • The topic ‘HTML emails not working’ is closed to new replies.