Re[2]: [PHP-DEV] Bug #14329 Updated: Mail() does not work
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 :)). holzgraefe is resolved to a local user which apparently isn't able to receive mails. This behaviour is quite weird, why should someome choose , as a delimiter for users? ok, ok it's mentioned in the manual, but why doesn't PHP just parse out all mail addresses? Everything containing a @ where the boundaries are either whitespace or obvious characters such as and ? 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. Is this now a feature or a bug? Kind Regards, Daniel Lorch -- 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]
Re[2]: [PHP-DEV] Bug #14329 Updated: Mail() does not work
Hi, ? mail(holzgraefe, hartmut [EMAIL PROTECTED],test,test); ? This doesn't work because of the comma. sure, but this is a common real life mistake so i strongly recommend using quotes for real names in mail adresses just to be sure, although RFC822 doesn't require their use well, the problem is how PHP parses out all mail adresses. Many MUAs also use syntaxes like: [EMAIL PROTECTED] (Full Name) quite odd, but I think having seen this from a t-online-mailer, which, apparently, is the biggest ISP in germany. I don't support such proprietary behaviour, but nevertheless (if you don't mind) I'd like to add the way how PHP parses out the mail adresses to the wishlist of future PHP development. Additionaly, the SMTP wrapper which is used by PHP/Windows should behave the same way as the linux version does. Kind Regards, Daniel Lorch -- 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]