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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.