Bounce Email handling with PHP?

后端 未结 14 1519
爱一瞬间的悲伤
爱一瞬间的悲伤 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:24

    In the php mail command http://php.net/mail

    you use the fifth parameter and add "-f" to it.

    So, you use "-f mybouncebox@mydomain.com" as the parameter

    the phpList newsletter manager uses this to manage bounces.

    Once the bounces fill up in the mailbox, you can POP them, and process them. That's the easiest way to deal with them, as opposed to handling them when they arrive.

提交回复
热议问题