INetMapiMessage.Bcc

Syntax

Bcc: IStringList;

Description

The Bcc property returns the collection of the email addresses to which the blind copy of email message is sent. These addresses are inaccessible for the main recipient and the copies recipients (CC).

Example

Sub Main;

Var

Msg: INetMapiMessage;

Client: INetMapiClient;

Begin

Client := New NetMapiClient.Create;

Msg := New NetMapiMessage.Create;

Msg.From_ := "ivanov@server.ru";

Msg.To_.Add("petrov@mail.ru");

Msg.Bcc.Add("user1@mail.ru");

Msg.Subject := "Test letter";

Msg.Body := "Letter text";

Client.Message := Msg;

Client.Send;

End Sub Main;

After executing this example the email is sent using the application installed in the operating system and used as a default mail client. The letter is sent to the petrov@mail.ru address. The blind copy of the letter is sent to the user1@mail.ru address.

See also:

INetMapiMessage