[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 14:13:29 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   |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch


Old description:

> 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

New description:

 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#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list