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
 
Back
Top