Solved

System.Net.Mail replyto multiple addresses

Posted on 2006-06-28
4
457 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
ID: 17002265
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

810 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