SMTP Header - Disposition-Notification-To

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

Guest

Is there a way to ask the recipient of my email message to send a receipt back to me? If so, a few lines of code would be appreciated!

I have a System.Web.Mail namespace-based C# WebForm.
 
mg said:
Is there a way to ask the recipient of my email message to send a receipt
back to me? If so, a few lines of code would be appreciated!
I have a System.Web.Mail namespace-based C# WebForm.

Yes and no. This is a user optional feature, so you can't guarantee that it
comes back.

It looks like you already know the header, are you asking how to put it into
the message?

Just add it to the MailMessage.Headers collection on your message object.

Kelly
 

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

Back
Top