WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 18 months ago

#21738 new defect (bug)

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

Reported by: Keeslavin Owned by:
Milestone: Future Release Priority: normal
Severity: minor Version: 3.4.1
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)

@Keeslavin3 years ago

Fixed

comment:1 @SergeyBiryukov3 years ago

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