Page 1 of 1
mail () function
Posted: Wed Mar 29, 2006 1:09 pm
by malcolmboston
Simple question, i need to know if an email has bounced or not, is there any in-built functions or will he return from mail return something significant
Thanks in advance
Mal
Posted: Wed Mar 29, 2006 1:18 pm
by feyd
Nothing built-in that I know of.
From what I've seen, you'll need to look at the messages in the inbox for stuff from a postmaster saying something "couldn't be found" or something.
Posted: Wed Mar 29, 2006 1:26 pm
by malcolmboston
so no automated way, according to a client PHPList does it, its basically for a newsletter syste, (not spam!), so any ideas how PHPList implements it then? according to my client, PHPList detects if its bounced times and then blocks the email
Posted: Wed Mar 29, 2006 1:35 pm
by Roja
malcolmboston wrote:so no automated way, according to a client PHPList does it, its basically for a newsletter syste, (not spam!), so any ideas how PHPList implements it then? according to my client, PHPList detects if its bounced times and then blocks the email
As Feyd mentioned, most likely, it has inbox access. With that, it can search for bounced returns.
Without that, it is depending on SMTP return codes which are more often inaccurate than they are accurate. In fact, for SMTP servers following the RFC's (the majority), they will almost always accept an email - meaning the "accept" notice is practically worthless.
Short of inbox access (which is difficult, complicated, and requires server-side (beyond scripting) setup), there is no reliable method of detecting success.