mail function. not working
| From: | Richard Kurth | Date: | Sat, 19 May 2001 20:15:42 +0000 |
| Subject: | mail function. not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-53553@lists.php.net to get a copy of this message | ||
Way does this not work it sends to the recipient but it will not
send to the bcc this is right out of the manual.
$recipient .= "rkurth@pacifier.com";
$subject = "Hello";
$message .= "The is the message\n";
$message .= "--\r\n"; //Signature delimiter
$message .= "http://northwesthost.com";
$headers .= "From: Richard Kurth <rkurth@pacifier.com>\n";
$headers .= "X-Sender: <rkurth@pacifier.com>\n";
$headers .= "X-Mailer: NorthWestHost\n";
$headers .= "X-Priority: 1\n";
$headers .= "Return-Path: <rkurth@pacifier.com>\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type
$headers .= "bcc:rkurth@northwesthost.com, sales@northwesthost.com\n"; // BCCs to
mail($recipient, $subject, $message, $headers);
Best regards,
Richard
mailto:rkurth@pacifier.com