Help Center

CDOMessage.CCmethod

The secondary (carbon copy) recipients for this message.

COMmethodCDOMessage.incdocumented

Syntax

FUNCTION CC BYREF wszCC AS WSTRING) AS HRESULT

Parameters

NameDescription
wszCCThe string in the BCC method can represent a single recipient or multiple recipients. Each address in the list must be a full messaging address, such as "User" <example@example.com> or example@example.com.
In lists of multiple recipients, commas separate addresses, as follows: "User1" <example1@example.com>, "User 2" <example2@example.com>, "User3" <example3@example.com>
A comma is not valid in any part of a messaging address unless it is enclosed in quotation marks.
To maintain the privacy intended by blind copies, CC is regarded as an envelope property rather than a message property; accordingly, the corresponding header field and its contents are removed when the message is delivered, and the CC property is always empty on a received message.
The default value of the CC property is an empty string.

Return value

S_OK (0) or an HRESULT code.

Description

The secondary (carbon copy) recipients for this message.

Reference

  • Include file CDOMessage.inc
  • Defined in AfxNova/CDOMessage.inc:191
  • Documented in COM/CDOMessage Class.md
  • Topic: CDOMessage Class