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 Property Cc As String

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.

Dim MyMessage As MailMessage = New MailMessage()
MyMessage.Cc = "fred@contoso.com"

.NET Framework
Available since 1.1
Return to top
Show: