MailMessage.Cc Property

 

Gets or sets a semicolon-delimited list of e-mail addresses that receive a carbon copy (CC) of the e-mail message. Recommended alternative: System.Net.Mail.

Namespace:   System.Web.Mail
Assembly:  System.Web (in System.Web.dll)

public string Cc { get; set; }

Property Value

Type: System.String

A semicolon-delimited list of e-mail addresses that receive a carbon copy (CC) of the e-mail message.

Recipients in the semicolon-delimited list can be either email addresses or address book display names.

MailMessage MyMessage = new MailMessage();
MyMessage.Cc = "fred@contoso.com";

.NET Framework
Available since 1.1
Return to top
Show: