Make WordPress Core

Opened 12 years ago

Last modified 21 months ago

#21738 closed defect (bug)

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

Reported by: keeslavin's profile Keeslavin Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4
Component: Mail Keywords: needs-patch
Focuses: Cc:

Description (last modified by SergeyBiryukov)

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 (2)

@Keeslavin
12 years ago

Fixed

#1 @SergeyBiryukov
12 years ago

  • Description modified (diff)
  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.