Re[2]: [PHP-DEV] Bug #14329 Updated: Mail() does not work
| From: | Daniel Lorch | Date: | Mon, 03 Dec 2001 22:14:37 +0000 |
| Subject: | Re[2]: [PHP-DEV] Bug #14329 Updated: Mail() does not work | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72397@lists.php.net to get a copy of this message | ||
Hi,
>>><?
>>>mail("holzgraefe, hartmut
>>><hartmut@six.de>","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:
mail@address.com (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