Platform SDK: Exchange 2000 Server

CC Property

[This is preliminary documentation and subject to change.]

The informational (carbon copy, or Cc) recipients for this message.

[Visual Basic]
Property CC as String
[C++]
HRESULT get_CC(BSTR* pVal);
HRESULT put_CC(BSTR Val);
[IDL]
HRESULT [propget] CC([out,retval] BSTR* pVal);
HRESULT [propput] CC([in] BSTR Val);

Remarks

This property is also available as the urn:schemas:mailheader:cc and urn:schemas:httpmail:cc fields.

The string in the CC property can represent a single recipient or multiple recipients. A full messaging address must designate each recipient in the list:

UserAddress@microsoft.com

Commas separate multiple recipients in the list:

"User 1" <User1@microsoft.com>, "User 2" <User2@microsoft.com>

Commas are not parsed as separators when enclosed in double quotes, such as:

"John Jones, Jr." <jjones@microsoft.com>, "Jane Doe" <JaneDoe@microsoft.com>

The quotes must appear as characters in the string. These quotes are not those used to denote a string in Visual Basic or C++. For example,

iMsg.To = " ""John Jones, Jr."" <jjones@microsoft.com>, ""Jane Doe"" <JaneDoe@microsoft.com>"

in Visual Basic, or

pMsg->put_To(_bstr_t(" \"John Jones, Jr.\" <jjones@microsoft.com>, \"Jane Doe\" <JaneDoe@microsoft.com>"));

in C++.

You must set at least one recipient in at least one of the BCC, CC, or To properties. If you call the Post or Send method without doing this, an error is returned.

The default value of CC is an empty string.

See Also

urn:schemas:mailheader:cc Field

urn:schemas:httpmail:cc Field