[wp-trac] [WordPress Trac] #15539: wp_mail() should allow using PHPmailer's SMTP feature

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 22 17:19:45 UTC 2010


#15539: wp_mail() should allow using PHPmailer's SMTP feature
--------------------------+-------------------------------------------------
 Reporter:  mastermind    |       Owner:                
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  Mail          |     Version:  3.1           
 Severity:  normal        |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------

Comment(by mastermind):

 Ok, I didn't see the do_action_ref_array() at the bottom of wp_mail() –
 must have been some sort of blind spot.

 I agree that this can be used as a workaround. Still, I think that simply
 omitting {{{phpmailer->IsMail()}}} would be perfect: {{{mail}}} is the
 default value of {{{$phpmailer->Mailer}}}, so if the instance is fresh, it
 will be set anyway; if the instance is pre-set, any other value will be
 intentional.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15539#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list