Retrieving or Changing Message Recipients

These properties are available in EFT Server 5.2 and later.

Use the ICIMailActionParams interface TOAddresses, CCAddresses, and BCCAddresses properties to retrieve or change recipients in the To, CC, and BCC fields of a message. Separate multiple addresses with a semicolon. Refer to Send Notification E-mail Action Parameters for an illustration of how this and other Mail Action Parameters Interface properties can be accessed in the Administrator interface.

Signature:

HRESULT TOAddresses([out, retval] BSTR *pVal);

HRESULT TOAddresses([in] BSTR newVal);

HRESULT CCAddresses([out, retval] BSTR *pVal);

HRESULT CCAddresses([in] BSTR newVal);

HRESULT BCCAddresses([out, retval] BSTR *pVal);

HRESULT BCCAddresses([in] BSTR newVal);

Example:

mailParams.CCAddresses = "rto@globalscape.com;foo@bar.com;"