/bp-wpmandrill

Allows the new BuddyPress HTML email to be sent using Mandrill.

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

bp-wpmandrill

WordPress plugin to allow the new BuddyPress HTML email to be sent using Mandrill.

BuddyPress 2.5 introduced a new stylised HTML email system. By default the HTML system doesn't work if a 3rd party transactional email plugin is active (e.g. wpMandrill or SendGrid), and reverts to sending plain text emails.

This plugin allows the stylised BuddyPress HTML emails to be sent using Mandrill. It does this by sending the email through wp_mail() rather than directly with PHPMailer, and sets a few relevant filters.

Requires the wpMandrill plugin to be installed and active.

This is a working proof of concept rather than a robust solution.

##Mandrill Templates## If you are using Mandrill to provide an HTML template for all your site emails (not just the BuddyPress ones), you can continue to do so by overriding the BuddyPress single-bp-email.php template to just provide the body content.

Your override template goes in the /buddypress/assets/emails folder in your theme (see sample file).