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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.