Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 9 years ago

#5647 closed defect (bug) (wontfix)

class-phpmailer.php wrongly assumes sendmail compatibility

Reported by: modwest's profile modwest Owned by:
Milestone: 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 (3)

#1 @bberndt
16 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.

#2 @MattyRob
16 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.

#3 @DrewAPicture
9 years ago

  • Milestone 2.6 deleted
Note: See TracTickets for help on using tickets.