Modify Pop3 Email Bounce Script.

Hello,

I need this php script modified to work as needed.

What the script does it login to a pop3 account and read all the bounced email. This part works great. The problem is the script is not getting the proper information(bounced email address) from the bounced email to process it. It gets the email address the return come from which is server generated such as Mailer-Daemon(at)server.com I need it to search the body of the return email and get the actual email address that has bounced.

I have attached 2 files here. pop3.php which does the connecting, it seems to be working fine. And bounce_cron.php which processes the email and should be gathering the correct email address.

Leave a Reply

Your email address will not be published. Required fields are marked *