Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
No WP new user emails being sent - buddypress issue #32
We've installed the plugin on our local dev environment, configured it using the API key on our account and we can send test in the plugin settings page.
If we try to register a new user on the site the New account email with activation link email isn't sent to the user. I get no errors on screen and it all seems like it should be working but the emails never arrive in my inbox, I've tried sending to my company account, gmail and even mailinator but nothing comes through.
If I look in my SparkPost dashboard I see no sign of these emails being sent by the system.
We contacted your support team and was told to post here, any ideas?.
This seems to be an incompatibility with the way BuddyPress handles emails, and SparkPost implements it's SMTP settings.
What SparkPost does is extend the PHPMailer class and then overwrite a global $phpmailer variable with this new class.
However BuddyPress instantiates a new instance of PHPMailer when it's dealing with emails.
So it doesn't look like they're compatible at the moment.
referenced this issue
Apr 13, 2016
@richleland - BuddyPress ≠ bbPress
It seems the bbPress issue is just when using the API as it uses BCC.
This issue is that BuddyPress creates a new instance of the PHPMailer class and then does it's emails. While this plugins implementation is to grab the global $phpmailer variable and replace it with an instance of it's own class, which is simply discarded in the BuddyPress implementation.
changed the title from
No WP new user emails being sent
No WP new user emails being sent - buddypress issue
Nov 8, 2016
So it turns out, there is a very quick & easy solution. buddypress developers already made it possible to ignore their own implementation of