Share via


MailEnvelope2.BCC Property

Gets or sets the blind carbon copy (BCC) value used in MailEnvelopeObject that is associated with a WindowObject object.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Property BCC As String
    Get
    Set
'Usage
Dim instance As MailEnvelope2
Dim value As String

value = instance.BCC

instance.BCC = value
string BCC { get; set; }

Property Value

Type: System.String
The blind carbon copy (BCC) addresses.

Implements

MailEnvelope.BCC

Remarks

The values set for the BCC property should be a string of valid e-mail addresses. You can specify multiple e-mail addresses by using a semi-colon (";") between each of them.

Examples

MailEnvelopeObject myEnv = thisApplication.ActiveWindow.MailEnvelope;
myEnv.To = "someone@example.com";
myEnv.CC = "someone@example.com";
myEnv.BCC = "someone@example.com";
myEnv.Subject = "Test e-mail message";

See Also

Reference

MailEnvelope2 Interface

MailEnvelope2 Members

BCC Overload

Microsoft.Office.Interop.InfoPath Namespace