| Author | Topic: Set disposition notification in e-mails |
---|
| Pintér Balázs | Set disposition notification in e-mails
on Mon, 18 Jun 2007 09:05:05 +0200I use asinet routines for sending and receiving
mails. The solution is based on htmlmail sample.
My customer wants to get a receipt to be sure
the mail arrived.
How can I set this using this library?
TIA: Pintér Balázs |
| Paul Hill | Re: Set disposition notification in e-mails
on Mon, 18 Jun 2007 10:24:02 +0100Pintér Balázs wrote:
> I use asinet routines for sending and receiving
> mails. The solution is based on htmlmail sample.
> My customer wants to get a receipt to be sure
> the mail arrived.
> How can I set this using this library?
>
> TIA: Pintér Balázs
Try:
oMail:addHeader ( "Read-Receipt-To", "user@example.com" )
Not tested!
Paul |
| Pintér Balázs | Re: Set disposition notification in e-mails
on Mon, 18 Jun 2007 12:00:42 +0200Hello Paul !
Thank You the suggession,
oMail:addHeader("Disposition-Notification-To",cFromAddr)
works.
Best regards : Pintér Balázs
Paul Hill wrote:
> Pintér Balázs wrote:
> > I use asinet routines for sending and receiving
> > mails. The solution is based on htmlmail sample.
> > My customer wants to get a receipt to be sure
> > the mail arrived.
> > How can I set this using this library?
> >
> > TIA: Pintér Balázs
>
> Try:
>
> oMail:addHeader ( "Read-Receipt-To", "user@example.com" )
>
> Not tested!
>
> Paul |
| Phil Ide
| Re: Set disposition notification in e-mails
on Mon, 18 Jun 2007 12:19:57 +0100Pintér,
> I use asinet routines for sending and receiving
> mails. The solution is based on htmlmail sample.
> My customer wants to get a receipt to be sure
> the mail arrived.
> How can I set this using this library?
>
> TIA: Pintér Balázs
There is a header in the mail you can add which requests the mail client to
return a receipt. However, please note that not all clients can handle this
header, and most that do can be configured to ignore it. See RFC 822 for
details.
Regards,
Phil Ide
---------------------
www.xbhcl.com
www.pbih.eu
www.idep.org.uk/xbase
---------------------
Listen to sermon before eating missionary. |
| Thomas Braun
| Re: Set disposition notification in e-mails
on Mon, 18 Jun 2007 13:59:29 +0200Phil Ide wrote:
> There is a header in the mail you can add which requests the mail client to
> return a receipt. However, please note that not all clients can handle this
> header, and most that do can be configured to ignore it.
Not only the mail client, but also the mail client user can ignore it - at
least this is what I do most of the time
There also is a high chance that the receipt email is catched by the SPAM
filter.
I consider this a quite useless function.
Thomas |