problem with mail - again
| From: | Afan Pasalic | Date: | Thu, 23 May 2002 22:41:45 +0000 |
| Subject: | problem with mail - again | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13958@lists.php.net to get a copy of this message | ||
Hi people,
I started with sending a newsletter using this code and it works fine.
$headers .= "From: Name - newsletter <newsletter@server.com>\n";
$headers .= "X-Sender: <newsletter@server.com>\n";
$headers .= "X-Mailer: PHP\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <newsletter@server.com>\n";
$headers .= "Reply-To: newsletter@server.com\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
for($i=0; $i<count($EmailListing); $i++)
{
mail($EmailListing[$i], $subject, $mailmessage[$i], $headers);
}
Problem is that emails with wrong email addresses or not existing email addresses are not coming
back to me.
What could be a mistake?
Afan