WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#5647 closed defect (bug) (wontfix)

class-phpmailer.php wrongly assumes sendmail compatibility

Reported by: modwest Owned by:
Milestone: 2.6 Priority: high
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

In some environments, optional sendmail command line arguments are not accepted.

class-phpmailer.php always sets them (line 433 in [6568]), causing a fresh default install to be unable to send any email.

Even though the default install is set to use mail() (and not sendmail), these sendmail parameters are passed to mail() via the 5th argument to mail().

Workaround is to comment out that one line. Not sure of "correct" solution.

Change History (2)

comment:1 bberndt6 years ago

I updated to 2.3.3, and this seems to be fixed, since I overwrote the directory this files lives in, and didn't make the change.

comment:2 MattyRob6 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

mail() is used as the default so this will only affect users of plugins that override the default function. I'm not sure how this could be fixed to ensure 100% compatibility with all possible server scenarios. Some of this will have to fall back to end users to ensure a correctly configured server.

Note: See TracTickets for help on using tickets.