[wp-trac] [WordPress Trac] #21738: PHPMailer fourth argument '-oi' does not work with some hosts with safe_mode off

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 30 15:19:21 UTC 2012


#21738: PHPMailer fourth argument '-oi' does not work with some hosts with
safe_mode off
--------------------------+------------------------------
 Reporter:  Keeslavin     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Mail          |     Version:  3.4.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by bpetty):

 It's a reported bug a in an external library which should be reported and
 fixed upstream, and in this case, it was already reported and dealt with
 upstream, who's fix is already making it downstream in #21074.

 However, for the fix to actually work, WordPress needs to either set
 $phpmailer->UseSendmailOptions = false in wp_mail() by default (it's on by
 default), or it needs to expose the setting in some other way (turn on/off
 depending on new wp-option). Keep in mind that if it's turned off by
 default, it's not be a big deal that "-oi" isn't used, but "-f" won't be
 used either, and I believe that could break mail on more hosts than this
 fixes by turning it off.

 So, it's not a duplicate, but it does depend on #21074.

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


More information about the wp-trac mailing list