Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How Do I send a Return-Receipt with System.Web.Mail

Posted on 2005-02-25
Medium Priority
Last Modified: 2008-01-09
How Do I send a Return-Receipt with System.Web.Mail

Have this and its working fine

                objMM.To = dtReader("EmailAddress")
                objMM.From = strReturnAddress
                objMM.BodyFormat = MailFormat.Html
                objMM.Priority = MailPriority.Normal
                objMM.Body = strEmailBody
                objMM.Subject = strSubject

But need to add return receipt

Question by:Charles Baldo
  • 2
LVL 15

Expert Comment

ID: 13406993
i don't think you can do that...
LVL 18

Accepted Solution

tusharashah earned 2000 total points
ID: 13407105
Add following lines to your code before you call .Send method:

objMM.Headers.Add("Return-Receipt-To", objMM.From )

LVL 15

Expert Comment

ID: 13407113
oh wow that works..cool
LVL 12

Expert Comment

ID: 13407204
Is the above what you want?

Or this?
   mail.Fields.Add("urn:schemas:mailheader:return-receipt-to", "return email")

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month12 days, 1 hour left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question