Bug #10182 Updated: problem with the "To" field
| From: | hholzgra@php.net | Date: | Fri, 22 Jun 2001 22:47:06 +0000 |
| Subject: | Bug #10182 Updated: problem with the "To" field | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57716@lists.php.net to get a copy of this message | ||
ID: 10182
Updated by: hholzgra
Reported By: apere@agilitime.com
Old-Status: Open
Status: Assigned
Bug Type: Mail related
Operating system:
PHP Version: 4.0.4pl1
Assigned To: hholzgra
Comments:
windows mail code *badly* needs a rewirte
Previous Comments:
---------------------------------------------------------------------------
[2001-04-05 09:46:21] apere@agilitime.com
Ok, I have found several notes telling that the following syntax works :
$to = ""Arnaud PERE" <apere@agilitime.com>";
mail ($to,"subject","message");
But when I try this, my SMTP server says :
(bad host/domain syntax: "agilitime.com>")
see the trailing ">"...
Instead, I tried the following syntax which appeared to work :
$to = "apere@agilitime.com (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 http://bugs.php.net/?id=10182&edit=2