note 18140 added to function.mail
| From: | cookieme at usa dot net | Date: | Fri, 11 Jan 2002 19:10:36 +0000 |
| Subject: | note 18140 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-24680@lists.php.net to get a copy of this message | ||
There used to be a note with a complete set of headers to use with the mail function but somehow now
its gone so here they are again hope it helps :)
$headers .= "From: Name<mail@server.com>\n";
$headers .= "X-Sender: <mail@server.com>\n";
$headers .= "X-Mailer: PHP\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <mail@server.com>\n";
//Uncomment this to send html format
//$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
//$headers .= "cc: birthdayarchive@php.net\n"; // CC to
//$headers .= "bcc: mail@server.com"; // BCCs to, separete multiple with commas
mail@mail.com, mail2@mail.com
Regards
P.A. Luis Tena O.
Mexico city.
--
http://www.php.net/manual/en/function.mail.php
http://master.php.net/manage/user-notes.php?action=edit+18140
http://master.php.net/manage/user-notes.php?action=delete+18140
http://master.php.net/manage/user-notes.php?action=reject+18140