System.Web.UI.WebControls.MailDefinition.CC Property

Gets or sets a comma-separated list of e-mail addresses to send a copy (CC) of the message to.

Syntax

[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DefaultValue("")]
public string CC { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The MailDefinition.CC property contains a list of additional recipients of the e-mail message.

If the MailDefinition.CC property contains an improperly formed e-mail address, the System.Net.Mail.SmtpClient.Send(string, string, string, string) method throws an System.Web.HttpException exception and the e-mail message is not sent.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0