PHP 4.0 Bug #10182: problem with the "To" field

From: Date: Thu, 05 Apr 2001 13:46:22 +0000
Subject: PHP 4.0 Bug #10182: problem with the "To" field
Groups: php.dev 
Request: Send a blank email to php-dev+get-50932@lists.php.net to get a copy of this message
From: apere@agilitime.com Operating system: Windows 98 - 2 PHP version: 4.0.4pl1 PHP Bug Type: Mail related Bug description: problem with the "To" field 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 ? -- Edit Bug report at: http://bugs.php.net/?id=10182&edit=1

« previous php.dev (#50932) next »