Muokkaa

Jaa


MailMessage.Bcc Property

Definition

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

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

Property Value

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

Examples

MailMessage MyMessage = new MailMessage();
MyMessage.Bcc = "wilma@contoso.com";
Dim MyMessage As MailMessage = New MailMessage()
MyMessage.Bcc = "wilma@contoso.com"

Remarks

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

The primary and carbon copy (Cc) recipients do not see the addresses in the Bcc field.

Applies to