Originally Posted by conflicker
Anybody has the experience on handling the bounce mail in php?
I'm working with a mailer using smtp and I need to come up with a feature of handling the bounce mail.
I guess you've got a problem.
From a technical point of view, a bounce mail is nothing else than an e-mail sent to your originating address. So, to catch the bounce mails, you need a receiving mailbox in the first place. Second, you need a handler that invokes a PHP script of yours each time an e-mail has been received. You then have a chance to examine that message and decide whether it's a bounce mail or something else, and react appropriately.
As you can see, things get pretty sophisticated, because you need full control over your own incoming mail server.
All that would be much easier if all mail servers were configured properly, so that they refuse an e-mail while the sender is trying to deliver it. Then the sender would get a distinct error condition, instead of assuming the delivery was okay and getting a bounce mail later.
[X] Doc CPU