Link to home
Create AccountLog in
Avatar of rcoast
rcoast

asked on

How to detect a bounced email automatically

I am building a utility to send out my monthly newsletters to my subscribed email list. It is large, and I go through the reponses by hand all the time.

I need to:

1. Detect a bounce and mark the email in my database as no good - I suspect the way I do this is by putting an email address for the bounce (server response) that is unique to the person I sent it to... and that this email goes to a catch-all account. At the catch all account, I would look at the too sender and use this to determine the email address that needs to be removed from my list.

2. Let the user respond to me directly, when they respond to the email I suspect the way to do this is simply the from/reply to addresses... I don't think I should make them different, as I think that is something that might indicate the email is SPAM... I'm not sure.

Are these two things correct?

What is the header I need to set?

Where can I find out information about this online... a good resource for knowing what has to be done when sending email?


ASKER CERTIFIED SOLUTION
Avatar of SnailGT
SnailGT
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer