Upravit

Sdílet prostřednictvím


MailEnvelope2.CC Property

Definition

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

public:
 property System::String ^ CC { System::String ^ get(); void set(System::String ^ value); };
public string CC { get; set; }
member this.CC : string with get, set
Public Property CC As String

Property Value

The carbon copy (CC) addresses.

Implements

CC

Examples

MailEnvelopeObject myEnv = thisApplication.ActiveWindow.MailEnvelope;
myEnv.To = "someone@example.com";
myEnv.<span class="label">CC</span> = "someone@example.com";
myEnv.BCC = "someone@example.com";
myEnv.Subject = "Test e-mail message";

Remarks

The values set for the CC 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.

Applies to