Daniel Lorch wrote: > Hi, > > >><? >>mail("holzgraefe, hartmut <[EMAIL PROTECTED]>","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 <[EMAIL PROTECTED]>" 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 [EMAIL PROTECTED] http://www.six.de +49-711-99091-77 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]