Bounce Email handling with PHP??
- by mcfadder_09
I am really new to this (not new to php).
Here is my scenario:
I have 2 emails accounts. admin@domain.com and bounce@domain.com.
I want to send email to all my users with admin@domain.com but then "reply to" bounce@domain.com (until here, my php script can handle it).
When, the email cant be sent, it sent to bounce@domain.com, the error message could be 553 (non existent email ...) etc.
My question is: How do I direct all those bounce emails (couldn't sent emails) to bounce@domain.com through a handling script to check for the bounce error codes?
What programming language should I be for the "handling script"?
What would the "handling script" looks like? Can give a sample?
OR:(Big Question)
What are the procedures I should follow to handle the bounce email ??