> Hi phpdoc!
> 
> I guess on
> 
> http://www.php.net/manual/en/function.mail.php
> 
> You should ...
> 
> Example 4. Sending complex email.
> 
> <?php
> /* recipients */
> $to  = "Mary <[EMAIL PROTECTED]>" . ", " ; // note the comma
> $to .= "Kelly <[EMAIL PROTECTED]>";
>          ^^^^^^^                 ^
> 
> remove the real names and angle brackets or state that this is a 
> wrong example. Or does it actually work and ...
> 
>      Note:  The to parameter cannot be an address in the form of 
> "Something <[EMAIL PROTECTED]>". The mail command will not 
> parse this properly while talking with the MTA.

IMO, the note is incorrect. Works at least with SMTP/sendmail.
Are there any special conditions in which mail() doesn't parse
it correctly? I can't find something in the PHP-Source.

Regards

Sebastian

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to