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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.