Export (0) Print
Expand All

To Property

Exchange Server 2003

To Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Contains a list of principal (To) recipients for this message.

Applies To

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In



        [Visual Basic]Property To As String
        [C++]HRESULT get_To(BSTRpVal);


Returns the value of the To property as a reference to a BSTR.


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

The string in the To 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 either the BCC Property, the CC Property, or the To property. If you call the Post Method or the Send Method without designating at least one recipient, an error is returned.

The default value of To is an empty string.

© 2014 Microsoft