Hello, On 05/23/2002 07:41 PM, Afan Pasalic wrote: > Hi people, > I started with sending a newsletter using this code and it works fine. > > $headers .= "From: Name - newsletter <[EMAIL PROTECTED]>\n"; > $headers .= "X-Sender: <[EMAIL PROTECTED]>\n"; > $headers .= "X-Mailer: PHP\n"; //mailer > $headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal > $headers .= "Return-Path: <[EMAIL PROTECTED]>\n"; > $headers .= "Reply-To: [EMAIL PROTECTED]\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?
On Windows bounced messages will go to sendmail_from setting in php.ini . If you can't set that address to something as you want, you need to use some other method besides mail() to send messages. -- Regards, Manuel Lemos -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php