I use a function that sends emails to some users.
I use the following code to send delivery notification error messages to an email sender
when the message does not reach the user.
I am using the following code.
System.Web.Mail.MailMessage messagetest = new System.Web.Mail.MailMessage(); messagetest.Headers.Add("Disposition-Notification-To", txtFrom.Text);
Now I want the sender to receive a receipt delivery message when the mail arrives successfully.
How can I do that?
thanks
Mina samy
source share