MailMessageBcc Property
Gets or sets the list of blind carbon copy (BCC) recipients of the message.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public EmailAddressCollection Bcc { get; set; }

Property Value

Type: EmailAddressCollection
An EmailAddressCollection object containing a collection of e-mail addresses of blind carbon copy recipients of the message. The default value is an empty collection.
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).

To specify it as a string, set msg.Bcc.AsString value (assuming msg is MailMessage instance). Thus you can construct a list of BCC recipients as a string delimited with comma or semicolon.

Although the message is sent to all recipients which are set in Bcc property, BCC field will not be included in the message header unless MailMessage.Builder.RemoveBccOnSend property is set to false.
This sample loads the message from .EML file and displays the e-mail addresses of BCC recipients.
using System;
using MailBee.Mime;
using MailBee.Pop3Mail;

class Sample
    static void Main(string[] args)
        // Quickly download the first message from the specified POP3 account
        MailMessage msg = Pop3.QuickDownloadMessage("", "dan_brown", "password", 1);

        Console.WriteLine("The list of BCC recipients of the message:");

        // For each BCC recipient...
        foreach (EmailAddress adr in msg.Bcc)
            // its e-mail address.
See Also