[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:36:25 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 nacin):
Replying to [comment:3 markoheijnen]:
> Can't this be closed as duplicate of #21074?
Doesn't seem like it. #21074 is designed to merge in PHPMailer latest
which will include the upstream-formatted fix for [21129].
This ticket seems to be more about never using the fourth argument of
mail().
On these hosts, does mail() fail in this situation? Perhaps if could be as
simple as this:
{{{
if ( ! mail( one, two, three, four ) )
mail( one, two, three );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21738#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list