Request delivery receipt when sending mails

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top