[buddypress-trac] [BuddyPress Trac] #6945: Support existing plugins that set PHPMailer to use SMTP

buddypress-trac noreply at wordpress.org
Sat Mar 5 20:57:35 UTC 2016

#6945: Support existing plugins that set PHPMailer to use SMTP
 Reporter:  DJPaul        |       Owner:  djpaul
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  2.5.1
Component:  API - Emails  |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"10635"]:
 #!CommitTicketReference repository="" revision="10635"
 Emails: add WordPress' `phpmailer_init` action to support WordPress
 plugins that adjust PHPMailer's configuration.

 Certain existing popular plugins configure WordPress to use SMTP for
 PHPMailer, and don't re-implement `wp_mail()` nor filter to enable HTML.
 Since we use PHPMailer, we ought to support these plugins since they're
 just tweaking how PHPMailer works rather than re-inventing the wheel.

 We achieve this by adding the `phpmailer_init` action in addition to our
 own `bp_phpmailer_init` action.

 Fixes #6945

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6945#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list