BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to request delivery notification using TIdSMTP ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
wilson
Guest





PostPosted: Tue Sep 26, 2006 8:11 am    Post subject: How to request delivery notification using TIdSMTP ? Reply with quote



How to request delivery notification using TIdSMTP ?

This can be done with SMTP command, e.g.

RCPT TO: abc (AT) example (DOT) com NOTIFY=SUCCESS,FAILURE

but I don't know how to do this with TIdSMTP.

Thank you.
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Sep 26, 2006 2:45 pm    Post subject: Re: How to request delivery notification using TIdSMTP ? Reply with quote



"wilson" <e (AT) mail (DOT) com> wrote in message
news:4518c9d8$1 (AT) newsgroups (DOT) borland.com...

Quote:
How to request delivery notification using TIdSMTP ?

You don't.

Quote:
This can be done with SMTP command, e.g.

RCPT TO: abc (AT) example (DOT) 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.

Quote:
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
Back to top
Bill Edwards
Guest





PostPosted: Tue Sep 26, 2006 7:48 pm    Post subject: Re: How to request delivery notification using TIdSMTP ? Reply with quote



Perhaps the "ReceiptRecipient" property of TIdMessage will serve the
purpose?

"wilson" <e (AT) mail (DOT) com> wrote in message
news:4518c9d8$1 (AT) newsgroups (DOT) borland.com...
Quote:
How to request delivery notification using TIdSMTP ?

This can be done with SMTP command, e.g.

RCPT TO: abc (AT) example (DOT) com NOTIFY=SUCCESS,FAILURE

but I don't know how to do this with TIdSMTP.

Thank you.
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Sep 26, 2006 10:13 pm    Post subject: Re: How to request delivery notification using TIdSMTP ? Reply with quote

"Bill Edwards" <sdbgrump (AT) hotmail (DOT) com> wrote in message
news:45193da3$1 (AT) newsgroups (DOT) borland.com...

Quote:
Perhaps the "ReceiptRecipient" property of TIdMessage
will serve the purpose?

That property fills in the "Disposition-Notification-To" header of the
message itself. It is not an SMTP-specific value. Not all servers
recognize those types of headers. And besides that, those that do tend to
use that particular header for read receipts, not delivery receipts.


Gambit
Back to top
Massuda
Guest





PostPosted: Wed Sep 27, 2006 2:25 am    Post subject: Re: How to request delivery notification using TIdSMTP ? Reply with quote

Quote:
That property fills in the "Disposition-Notification-To" header of the
message itself.

Can I use the header "Return-Receipt-To" for this purpose (delivery
notification)?



--- posted by geoForum on http://delphi.newswhat.com
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed Sep 27, 2006 2:41 am    Post subject: Re: How to request delivery notification using TIdSMTP ? Reply with quote

"Massuda" <massuda (AT) mailinator (DOT) com> wrote in message
news:45198ef5$3 (AT) newsgroups (DOT) borland.com...

Quote:
Can I use the header "Return-Receipt-To" for this purpose
(delivery notification)?

That is entirely dependant on the particular server that is receiving the
message. "Return-Receipt-To" is not a standard header, and it is not
specifically a delivery notification header either. Many servers do not use
it as a delivery notification. If they use it at all, it is used as a read
notification instead. Some servers do not use it at all.


Gambit
Back to top
wilson
Guest





PostPosted: Wed Sep 27, 2006 8:11 am    Post subject: Re: How to request delivery notification using TIdSMTP ? Reply with quote

Thank you very much for the information.

Remy Lebeau (TeamB) wrote:

Quote:

"wilson" <e (AT) mail (DOT) com> wrote in message
news:4518c9d8$1 (AT) newsgroups (DOT) borland.com...

How to request delivery notification using TIdSMTP ?

You don't.

This can be done with SMTP command, e.g.

RCPT TO: abc (AT) example (DOT) 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



--
Back to top
wilson
Guest





PostPosted: Wed Sep 27, 2006 8:11 am    Post subject: Re: How to request delivery notification using TIdSMTP ? Reply with quote

Yes. It is not reliable to request delivery notification by message
header as this is not a standard approach and client/recipient
dependent. With number of trials, using SMTP "RCPT TO:" command is more
reasonable.

Remy Lebeau (TeamB) wrote:

Quote:

"Massuda" <massuda (AT) mailinator (DOT) com> wrote in message
news:45198ef5$3 (AT) newsgroups (DOT) borland.com...

Can I use the header "Return-Receipt-To" for this purpose
(delivery notification)?

That is entirely dependant on the particular server that is receiving
the message. "Return-Receipt-To" is not a standard header, and it is
not specifically a delivery notification header either. Many servers
do not use it as a delivery notification. If they use it at all, it
is used as a read notification instead. Some servers do not use it
at all.


Gambit



--
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.