[buddypress-trac] [BuddyPress Trac] #6947: Emails error with "Could not instantiate mail function" from phpmailer.
buddypress-trac
noreply at wordpress.org
Mon Mar 7 21:19:20 UTC 2016
#6947: Emails error with "Could not instantiate mail function" from phpmailer.
--------------------------+--------------------
Reporter: DJPaul | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.5.1
Component: API - Emails | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+--------------------
Comment (by DJPaul):
Extensive testing and experiment with @shanebp has revealed a fun quirk
with PHPMailer. My current thoughts is that our PHPMailer implementation
needs to match WordPress', so if anyone has had to configure server
configuration to get `wp_mail()` to work, BudyPress' should just work.
The only significant difference is that we set the `Sender` property, and
WordPress doesn't.
This was somewhat of an oversight because WordPress sets an email's `From`
and `FromName` properties directly, whereas BuddyPress uses a method...
which, by default, also sets `Sender` to the `From` address.
From the following WP trac tickets (just the cream of the crop), there are
calls for all these settings to be set one way or another, and setting
`Sender` was tried and reverted years ago because it broke more than it
helped:
https://core.trac.wordpress.org/ticket/18792
https://core.trac.wordpress.org/ticket/5007
https://core.trac.wordpress.org/ticket/5294
https://core.trac.wordpress.org/ticket/5869
https://core.trac.wordpress.org/ticket/25651
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6947#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list