#18798 [NEW]: Mail doesn't sent to "Mary <mary@example.com>" this format
| From: | karel at publihost dot com | Date: | Thu, 08 Aug 2002 08:06:55 +0000 |
| Subject: | #18798 [NEW]: Mail doesn't sent to "Mary <mary@example.com>" this format | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16240@lists.php.net to get a copy of this message | ||
From: karel@publihost.com
Operating system: Windows 2k Server SP2
PHP version: 4.2.2
PHP Bug Type: Mail related
Bug description: Mail doesn't sent to "Mary <mary@example.com>" this format
If I send an email with the folowing routine I receive the mail.
<?
$to = "karel@publihost.com";
mail($to, "subject", "message");
?>
OR
<?
$to = "karel@publihost.com" . ", ";
$to .= "webmaster@publihost.com";
mail($to, "subject", "message");
?>
But If I change the $to varible I don't receive the message.
<?
$to = "Karel <karel@publihost.com>";
mail($to, "subject", "message");
?>
The same problem occures when I send a message to:
<?
$to = "Karel <karel@publihost.com>" . ", ";
$to .= "webmaster <webmaster@publihost.com>";
mail($to, "subject", "message");
?>
Is this a problem coused by the mailsoftware (Merak mailserver -
http://www.merakmail.com) or is it a php-problem?
Kind regards,
Karel Mertens
--
Edit bug report at http://bugs.php.net/?id=18798&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18798&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18798&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18798&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18798&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18798&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18798&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18798&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18798&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18798&r=globals