note 21989 added to ref.mail
| From: | lanky at lankyland dot com | Date: | Mon, 03 Jun 2002 01:12:05 +0000 |
| Subject: | note 21989 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31365@lists.php.net to get a copy of this message | ||
i have noticed that the mail() doesnt work if you define some headers in a variable ($headers) and
also within the mail( ..here.. ). this causes a conflict for some reason
example...
$headers = "MIME/TYPE blah blah blah";
$headers = "Cc: user@example.com";
mail("$headers", "From: user@examples.com");
i hope this helps
--
http://www.php.net/manual/en/ref.mail.php
http://master.php.net/manage/user-notes.php?action=edit+21989
http://master.php.net/manage/user-notes.php?action=delete+21989
http://master.php.net/manage/user-notes.php?action=reject+21989