Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Sep : Re: Returned emails
| Subject: | Re: Returned emails |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Wed, 12 Sep 2007 10:40:42 |
"Marco Cotroneo" <m.cot@ritoll.it> wrote in message
news:46e7c327$1@newsgroups.borland.com...
> when an e-mail is sended it can happen that it can't be
> forwarded for a particular reason (ex. bad email addess,
> full mailbox , ect). Is there a way to distinguish whether
> an email is returned or is just an ordinary email?
The official way is that the "Return-Path" header will be empty (or missing)
so that recursion will not occur for error messages that themselves cannot
be delivered. In theory, it should not be possible for a normal message to
have an empty "Return-Path" header, since it is automatically added by the
server that delivers the message.
Gambit