Request delivery receipt when sending mails

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I'm developing a component for sending emails, but I cannot figure out how
to set the email to receive notification when the email is sent.
This is what I do:
using System.Web.Mail;
MailMessage message = new MailMessage();
message.Headers.Add("urn:schemas:mailheader:disposition-notification-to",
"(e-mail address removed)");

but it doesn't seem to work properly. Can anyone tell how to do it right
please!
 
Back
Top