CC Property

Topic Last Modified: 2006-12-01

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

Applies To

IMessage Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Property CC As String

HRESULT get_CC(BSTR* pVal);HRESULT put_CC(BSTR Val);

Parameters

  • pVal
    Returns the value of the CC property as a reference to a BSTR.
  • Val
    Sets the value of the CC property to the value of the BSTR.

Remarks

This property is also available as the urn:schemas:mailheader:cc field (cc Field) and urn:schemas:httpmail:cc field (cc Field).

The string in the CC property can represent a single recipient or multiple recipients. See the BCC Property for more information about formatting and setting e-mail address properties.

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.