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

buddypress-trac noreply at wordpress.org
Sat Mar 5 21:03:24 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:                |
--------------------------+---------------------

Comment (by djpaul):

 In [changeset:"10636"]:
 {{{
 #!CommitTicketReference repository="" revision="10636"
 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 (2.5 branch)
 }}}

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


More information about the buddypress-trac mailing list