How Do Email Campaign Managers Report On Bounced Emails?

前端 未结 3 1376
忘掉有多难
忘掉有多难 2021-01-17 03:29

Can anyone point me in the right direction to how I would handle capturing bounced email info. I\'m looking into writing an email campaign manager and would like the abilit

3条回答
  •  伪装坚强ぢ
    2021-01-17 03:55

    Bounced email is slang for a Non Delivery Report or NDR. Most smtp servers have their own ways to handle NDR's, typically via a BADMAIL folder.

    So first of all, confirm what your SMTP server software does for NDR's. Then confirm that this is working correctly. I think that if an email fails to send, the sender will get notified .. but if the sender can't be notified (ie. do not reply email, etc) I think this is how it ends up in the BADMAIL folder.

    Anyways - u need to find out and confirm that the software you're using handles NDR's. Once it does, it's easy to write some code to check that folder every 'whatever' or even put a filewatcher on it .. and then parse the content of each file that is added to that folder.

    HTH.

提交回复
热议问题