note 23163 added to ref.mail
| From: | daevid at daevid dot com | Date: | Wed, 10 Jul 2002 21:35:27 +0000 |
| Subject: | note 23163 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32866@lists.php.net to get a copy of this message | ||
in the excellent 'header' example:
php@driekeerkiwi.nl
20-May-2002 02:21
I find it better to use:
mail("", $subject, $message, $headers);
because you are already setting the TO: in the headers. If you put the $contactemail, you will see
two names on the TO line on the email separated by ;
also, if it's not painfully obvious, use:
"Content-type: text/plain"
to get regular text vs. html text.
--
http://www.php.net/manual/en/ref.mail.php
http://master.php.net/manage/user-notes.php?action=edit+23163
http://master.php.net/manage/user-notes.php?action=delete+23163
http://master.php.net/manage/user-notes.php?action=reject+23163