[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 13:56:55 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        |   Keywords:
--------------------------+-----------------------------
 See also #20970

 Some hosts (e.g. TransIP) do not accept the '-oi' parameter in the fourth
 argument for mail() even when safe_mode is off.
 The result is that no mail can be sent through Wordpress on these hosts.

 Changeset 21129 provides a partial fix when either safe_mode is off, or no
 sender is defined.

 The parameter seems to be unnecessary, therefore it is recommended to
 remove this parameter. In version 3.4 and 3.4.1, it is in lines 740 and
 742 of file wp-includes/class-phpmailer.php

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


More information about the wp-trac mailing list