MailMessage.Bcc Property

 

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

Namespace:   System.Web.Mail
Assembly:  System.Web (in System.Web.dll)

public string Bcc { get; set; }

Property Value

Type: System.String

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

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.

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

.NET Framework
Available since 1.1
Return to top
Show: