Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Sep : Re: Returned emails
| Subject: | Re: Returned emails |
| Posted by: | "Marco Cotroneo" (m.c..@ritoll.it) |
| Date: | Fri, 14 Sep 2007 13:25:52 |
Remy Lebeau (TeamB) ha scritto:
> "Marco Cotroneo" <m.cot@ritoll.it> wrote in message
> news:46e7c327$1@newsgroups.borland.com...
>
> 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.
>
Thank you!That might be a point where to start :) I have another
question.
As standard is not alway followed, I was thinking to handle these
emails in a different way.
I am writing a news letter program, and I need to handle the bounced
emails I receive, just to alert the user that some emails have not been
delivered.
I realised that I don't have to handle all the DSNs (Delivery Status
Notification) I receive but only those regarding the emails I have
sent. For this reason I have added an extra field in the header of the
emails I am sending, so to be able to eventually test it in the bounced
messages. I have done some tests, It seems than the header is correctly
rewrite on the bounce email. Well I am wondering if the orginal message
header is always returned. Any Idea?
Thanks
Marco