Solved

System.Net.Mail replyto multiple addresses

Posted on 2006-06-28
4
455 Views
Last Modified: 2011-11-18
Experts: Is there a way to specify multiple replyto addresses when sending out a message using the new System.Net.Mail library?

Microsoft has made it so that the ReplyTo field is of type MailAddress (can specifiy only 1 address).

Looks like the field  should have been of type MailAddressCollection (can specify multiple addresses).
0
Comment
Question by:jeremyduj
4 Comments
 
LVL 25

Accepted Solution

by:
dstanley9 earned 75 total points
Comment Utility
Try adding ti to the headers directly:

MailMessage mail = new MailMessage();
...
mail.Headers.Add( "Reply-To", "address@mycompany.com; address2@company.com" );
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now