Bounce Email handling with PHP?

后端 未结 14 1521
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 04:30

Here is my scenario:

I have 2 email accounts: admin@domain.com and bounce@domain.com.

I want to send email to all my users with admin@domain.com but then \"r

14条回答
  •  臣服心动
    2020-11-28 05:33

    The best scenario is be able to classify the type of bounce: soft, hard...

    what we use is BounceStudio. You need to compile it and add the php libraries... not hard at all. You have the free and paid version of that product

    once we detect the kind of bounce we use PEAR::MAIL::MIME to search for custom headers that we added previously to the email, lets say:

    X-user-id: XXXXX
    X-campaign-id: YYYYYY 
    X-recipient-id: SSSSSSSSS
    

    in this way we can know the real recipient that we sent the email to.

    hope this help you! so you can help me to get to the 500 points :P

提交回复
热议问题