Make WordPress Core

Opened 6 years ago

Last modified 3 years ago

#21738 new defect (bug)

PHPMailer fourth argument '-oi' does not work with some hosts with safe_mode off — at Initial Version

Reported by: Keeslavin Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.4
Component: Mail Keywords: needs-patch
Focuses: Cc:


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

Change History (1)

6 years ago


Note: See TracTickets for help on using tickets.