MailMessage.Bcc Property

 
clsCompliantAlternativeNone

Gets the address collection that contains the blind carbon copy (BCC) recipients for this e-mail message.

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

Public ReadOnly Property Bcc As MailAddressCollection

Property Value

Type: System.Net.Mail.MailAddressCollection

A writable MailAddressCollection object.

To add a BCC recipient to an e-mail message, create a MailAddress for the recipient's address, and then add that object to the collection returned by the Bcc property.

When recipients view an e-mail message, the Bcc addresses are usually not displayed.

The following code example demonstrates adding an address to the Bcc address collection.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: