Re: undelivery mails
| From: | Ryan A | Date: | Fri, 20 Feb 2004 17:41:57 +0000 |
| Subject: | Re: undelivery mails | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178374@lists.php.net to get a copy of this message | ||
On 2/20/2004 5:48:21 PM, Juan Cortabitarte (jcorta@snoop.com.ar) wrote:
> 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?
>
> --
Hey,
If you are sending out html mails you can learn a lesson from the low life
bastard spammers, but in
your case for a good cause (i hope),
Write a script so that each email has a unique identifier as spedified in
the database and from the email
your script is called...(eg: via a img (src) tag )...after maybe 5 days of
the person not viewing your email
take them out of the db...this can be run via a cron.
HTH.
Cheers,
-Ryan