Re: Bug #14329 Updated: Mail() does not work

From: Date: Mon, 03 Dec 2001 22:19:13 +0000
Subject: Re: Bug #14329 Updated: Mail() does not work
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-72398@lists.php.net to get a copy of this message
Daniel Lorch wrote:
Hi,
<? mail("holzgraefe, hartmut <hartmut@six.de>","test","test"); ?> holzgraefe... User unknown /home/hartmut/dead.letter... Saved message in /home/hartmut/dead.letter
Actually I didn't pay enough attention to your error message (and you neither as it seems :)).
be asured, i have ;)
holzgraefe is resolved to a local user which apparently isn't able to receive mails.
true
This behaviour is quite weird, why should someome choose "," as a delimiter for users?
writing a realname as "Lastname, Firstname" is rather common, especially for sorting reasons
ok, ok it's mentioned in the manual, but why doesn't PHP just parse out all mail addresses?
the unix implementation doesn't parse the parameters at all, it just passes them transparently to the local MTA
Everything containing a @ where the boundaries are either whitespace or obvious characters such as "<" and ">" ?
even if "holzgraefe, hartmut <hartmut@six.de>" was accepted as a single address by php mail(), it would still confuse MUAs, especially when you try a "reply all" ...
Ah, and did I mention that PHP on Windows behave quite oddly? Probably because it connects directly to the SMTP server rather than piping to sendmail/qmail.
the win32/SMTP implementation in its current doesnt pay much attention to RFC821/822 conformance. period. -- Hartmut Holzgraefe hartmut@six.de http://www.six.de +49-711-99091-77

« previous php.dev (#72398) next »