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.4 build 677 for .NET 4.5
Syntax
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.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).
Remarks

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.
Examples
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("pop3.mail.com", "dan_brown", "password", 1);

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

        // For each BCC recipient...
        foreach (EmailAddress adr in msg.Bcc)
        {
            // ...show its e-mail address.
            Console.WriteLine(adr.Email);
        }
    }
}
See Also