Does the SmtpClient class support sending mail to mulitple recipients, like with CC?

John Zukowski

There is no concept of CC'ing anyone. However, you can have a comma delimited list in the to field.


String to = "foo1@bar.com, foo2@bar.com";
SmtpClient smtp = new SmtpClient(host);
smtp.from(from);
smtp.to(to);
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact