Ticket #5647 (closed defect: wontfix)

Opened 8 months ago

Last modified 2 months ago

class-phpmailer.php wrongly assumes sendmail compatibility

Reported by: modwest Assigned to: anonymous
Priority: high Milestone: 2.6
Component: General Version:
Severity: normal Keywords:
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

03/12/08 01:57:14 changed by bberndt

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.

07/09/08 13:41:14 changed by MattyRob

  • status changed from new to closed.
  • resolution set to wontfix.

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.