Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

System.Net.Mail replyto multiple addresses

Posted on 2006-06-28
4
Medium Priority
?
466 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 25

Accepted Solution

by:
dstanley9 earned 300 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

604 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