Re: [PHP] tracking Mials Which were bounced.

[email protected] (mike)
Newsgroups php.general
Message-ID <[email protected]>
Seems like the general way is to create a mailbox (POP3 or IMAP) to
accept the bounces, then check it periodically and mark the emails as
invalid in your local database.

I would set threshholds so you don't mark something failed that only
bounced once - it could have been a mail setup error or something
else; I'd say wait for 3 failures in a 7 day period at least. If you
get 3 bounces by that point, the address is probably safely dead.

You can use PHP's IMAP functions to check the mailbox (even for POP3)
or a million classes or your own functions directly on the socket
(POP3 is a simple protocol) - it also helps if you parse the bounced
email message to process the return address and the mail code; perhaps
build something better than just 3 failures = invalid, but actually
determine if they're full out failures, or if they're just temporary
bounces, etc.

Another method: you could just parse mail logs, if you have access to them.

> Chetan Rane wrote:
> > Hi All
> >
> > I am using a PHP Mailer to send mass mails.
> > How can I Identify how mails have bounced.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.