ID: 10182
Updated by: hholzgra
Old-Status: Open
Status: Assigned
Bug Type: Mail related
Operating system: 
PHP Version: 4.0.4pl1
Assigned To: hholzgra

windows mail code *badly* needs a rewirte

Previous Comments:

[2001-04-05 09:46:21] [EMAIL PROTECTED]
Ok, I have found several notes telling that the following syntax works :

$to = ""Arnaud PERE" <[EMAIL PROTECTED]>";
mail ($to,"subject","message");

But when I try this, my SMTP server says :
(bad host/domain syntax: ">")

see the trailing ">"...

Instead, I tried the following syntax which appeared to work :

$to = "[EMAIL PROTECTED] (Arnaud PERE)";
mail ($to,"subject","message");

This problem does not appear on the Unix version of PHP4.04pl1, but only on the 
windows version.

Did I do something wrong ?


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to