PDA

View Full Version : Checking for bounced mail


Castel
01 Mar 2002, 23:58
Could anybody point me in the right direction (tutorial, article, etc..) or even provided some code on how to check for bounced email on a server so these addresses can be removed from a database mailing list.

Logician
25 Mar 2002, 11:52
If I'm not wrong, easy (sometimes only) way to do this is to have the control of your mail server (dedicated mail server). Then when a mail bounce you can make your mail server trigger a script which will do what you requested.

But most of the times (with regular hosting) you wont have the control of your mail server, thus cant do this. But there may be a workaround: Ask your host where you incoming mails reside in the server and if your scripts can have access to that folder. If yes, you can write a script which will periodically check your incoming folder and look for bounceback mails, if catch, it will relate with the db of you email address' and remove the relevant address from the database. This is the hard way..

Regards,

Paul
27 Sep 2002, 00:44
This would be an excellent hack... I'd love to somehow integrate undeliverable e-mails to vbulletin. Perhaps after two failed attempts, put the user back into the awaiting e-mail confirmation group.

Anyone willing to create this hack?