MailMessage.Cc Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.