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.
Microsoft CDO for Exchange 2000 Library
DLL Implemented In
[Visual Basic]Property To As String
[C++]HRESULT get_To(BSTR* pVal);
- Returns the value of the To property as a reference to a BSTR.
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.