Re: undelivery mails

From: Date: Fri, 20 Feb 2004 17:05:44 +0000
Subject: Re: undelivery mails
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-178367@lists.php.net to get a copy of this message
From: "Juan Cortabitarte" <jcorta@snoop.com.ar> > I need to send a newsletter and I need to know all mail addresses of the > undelivery mails to update the database. > Any suggestion? Do I need to parse the maillog? If you're using the basic mail() function in PHP, you're not going to get any data back regarding deliveries. Some of the available SMTP classes may incorporate that, though. You'll more than likely (since you want to automate this, I imagine) have to write a PHP script that logs into a mailbox and parses the messages looking for bounces, failed delivery, etc. ---John Holmes...

« previous php.general (#178367) next »