Solved

System.Net.Mail replyto multiple addresses

Posted on 2006-06-28
4
460 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Winform Module - What is the ASP.Net equiv 2 39
Convert Select to DropDownListFor MVC 5 2 48
asp.net mvc 2 35
c#, datatable, aspx 4 23
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

726 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