WordPress.org

Make WordPress Core

Opened 23 months ago

Last modified 11 months 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: minor Version: 3.4.1
Component: Mail Keywords: needs-patch
Focuses: Cc:

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

Change History (1)

Keeslavin23 months ago

Fixed

Note: See TracTickets for help on using tickets.