note 32723 added to function.mail
| From: | sudarat at tarad dot com | Date: | Thu, 05 Jun 2003 08:19:06 +0000 |
| Subject: | note 32723 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49770@lists.php.net to get a copy of this message | ||
i cant ' send mail when i use funtion mail
example
<?
$recipient="<sudarat@tarad.com>\n";
$headers = "From: webmaster@thaisecondhand.com <webmaster@thaisecondhand.com>\n";
$headers .= "X-Sender: <webmaster@thaisecondhand.com>\n";
$headers .= "X-Mailer: PHP\n";
$headers .= "X-Priority: 1\n";
$headers .= "Return-Path: <support@tarad.com>\n"; # á¨é§àÁ×è;º Error
$headers .= "Cc: asa@tarad.com\r\n";
$headers .= "Bcc: muayka2000@yahoo.com\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
mail($recipient,$subject,$message,$headers) or print "can't send";
?>
I would to send Bcc to my custormer but i can't send
please answer me....Thank you.
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32723
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32723&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32723&report=yes