EmailAddress Property
EmailAddress 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 the e-mail address of an addressee.
Applies To
Type Library
Microsoft CDO for Exchange 2000 Library
DLL Implemented In
CDOEX.DLL
Syntax
[Visual Basic]Property EmailAddress As String
[C++]HRESULT get_EmailAddress(BSTR* pVal);
HRESULT put_EmailAddress(BSTR Val);
Parameters
- pVal
Returns the value of the EmailAddress property as a reference to a BSTR.- Val
Sets the value of the EmailAddress property to the value of the BSTR.
Remarks
This property defaults to the empty string until the addressee is resolved using the CheckName Method. After the addressee is resolved, the EmailAddress property contains the e-mail address for the addressee as defined in the corresponding directory object. If the search criteria were ambiguous and multiple matches occurred, the EmailAddress remains empty unless previously set.
Note that you can set the EmailAddress explicitly and then call CheckName Method. The EmailAddress is then used along with other property values when attempting to resolve the addressee to a directory object.
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.