Thank you for your reply.
I searched for detection of rejected email and return to my inbox.
I found on php.net "how to detect a bounce mail".
Is it what I am looking for ? In other words is a "bounce mail" defined as a returning email because it could not be found ?
If it is, it seems as a setup at my mail server is needed, I thought my host could do it but they claim this being development help which they do not provide.
I enclose a copy of the procedure as it is in the php.net
How to detect a bounce email
1. make sure the email you send out have the header
"Return-Path:
detect-bounce@yourdomain.com\r\n",
&
"Return-Receipt-To:
bounce@yourdomain.com\r\n"
2. setup this detect-bounce mail account at your mail server
3. redirect the incoming mail from this email account to your php script (check your mail server doc on how do this)
4. your php script will then be able to process the incoming email in whatever way you like, including to detect bounce mail message (use regexp search).
Note that the mail will be not be store after the mail server has redirect to your script. If you want to store it, you need additional code in your script
Hope the above help
Steven Lim
IT Consultant (
http://www.Edinburgh-Consulting.com)
Well, how can I proceed ?
Thanks for the help