Jump to content

Manage bounce mails


Nedyc

Recommended Posts

Hi, I'm developing a php newsletter software but I'm in trouble with bounce mails! I set a return path directing them into a specific email box then I read that email box with php and I process bounce mails to get the kind of problem.

Well, I need to get some informations about those bounce emails: The name of the user that should recive that mail, the date when the mail has been sent, the kind of error encountered; It could be so easy if I could read the body of the mail I sent into the back bounce one but every server sends a different kind of bounce...for example mailer-daemon won't let me get the body of the sent message...how can I handle this?

 

Andrea.

Link to comment
https://forums.phpfreaks.com/topic/237760-manage-bounce-mails/
Share on other sites

If your mail software allows it, you can encode the recipient's email address in the return address.  Then when the bounce arrives you know where it was sent because if the address it was returned to.  The encoding can be a mapping of ids stored in a database, for example.

Link to comment
https://forums.phpfreaks.com/topic/237760-manage-bounce-mails/#findComment-1222081
Share on other sites

Mhhhh... I think I don't understand...

With this php mailing list software I'll send many email campaigns, so it could be that an adress would recieve a mail a couple of times daily then I'd like to recive in the bounce mail account (if that adress is wrong) the id of the email champaign, in this way I'll be able to store in a database the right statistics, but the problem is that I don't know how to do if many servers send back mails without the initial mail body :(

Link to comment
https://forums.phpfreaks.com/topic/237760-manage-bounce-mails/#findComment-1222251
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.