[TYPO3-core] RFC: #8522 Problems with PHP mail function on Windows
Dmitry Dulepov [typo3]
dmitry at typo3.org
Fri Apr 25 23:55:13 CEST 2008
Hi!
Andreas Otto wrote:
> Problem:
> The implementation of the mail function in PHP differs on Windows [1].
>
> Emails containing to and from email adresses formatted like:
>
> John Doe <john at example.com>
>
> will result in the email not being sent on Windows.
I think I know why... It is not Windows-specific but will also happen if regular *nix sendmail is replaced with programs line mini_sendmail who emulate sendmail to connect to smtp server. They all (including PHP's mail() on Windows) do the same mistake: they take whatever is in "to" and use it in smtp RCPT TO command, which is wrong syntax. They should extract e-mail address and use that.
I think bug should be failed for PHP as well.
May be, in addition to this patch, we should have a list of sendmail-like programs that work in a wrong way and make workaround for them too.
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-team-core
mailing list