Επεξεργασία

Κοινή χρήση μέσω


MailMessage.Cc Property

Definition

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

public:
 property System::String ^ Cc { System::String ^ get(); void set(System::String ^ value); };
public string Cc { get; set; }
member this.Cc : string with get, set
Public Property Cc As String

Property Value

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

Examples

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

Remarks

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

Applies to