Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Sep : Re: How to request delivery notification using TIdSMTP ?
| Subject: | Re: How to request delivery notification using TIdSMTP ? |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 26 Sep 2006 02:45:14 |
"wilson" <e@mail.com> wrote in message
news:4518c9d8$1@newsgroups.borland.com...
> How to request delivery notification using TIdSMTP ?
You don't.
> This can be done with SMTP command, e.g.
>
> RCPT TO: abc@example.com NOTIFY=SUCCESS,FAILURE
Only on servers that implement RFC 1891 ("SMTP Service Extension for
Delivery Status Notifications"), which is indicated by the keyword "DSN"
being present in the reply to the EHLO command. Indy does not implement DSN
support at this time.
> I don't know how to do this with TIdSMTP.
In order to use DSN, you would have to either 1) alter TIdSMTP's source
code, or 2) implement the SMTP protocol from scratch yourself.
Gambit