Sending mail with delivery receipt ?

Posted by Mina Samy on Stack Overflow See other posts from Stack Overflow or by Mina Samy
Published on 2010-03-29T15:00:36Z Indexed on 2010/03/29 15:03 UTC
Read the original article Hit count: 416

Filed under:
|

Hi all

I use a function that sends emails to some users.

I use the following code to send delivery notification failure messages to the sender email

when a message fails to reach the user.

I use the following code.

System.Web.Mail.MailMessage messagetest = new System.Web.Mail.MailMessage();
messagetest.Headers.Add("Disposition-Notification-To", txtFrom.Text);

now I want to enable the sender to receive a Delivered receipt message when the mail arrives successfully.

how can this be done ?

thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#