home / software / tips and tricks / How do I specify multiple recipients in an Email using System.Net.Mail?

How do I specify multiple recipients in an Email using <b>System.Net.Mail</b>?

Updated:  12/20/2007 13:12 PM
Author:  Shiju Mathews

Status:    Resolved.


Because the To, CC, and Bcc properties are MailAddress collections, to add additional recipients, all we need to do is call .Add(...) on the respective properties.

Below is an example that demonstrates adding multiple To, CC, and Bcc addresses.
Tags: How do I specify multiple recipients in an Email using <b>System.Net.Mail</b>?
Updated on: November 2024