Platform SDK: Exchange 2000 Server

EmailAddress Property

[This is preliminary documentation and subject to change.]

Contains the e-mail address of an addressee.

[Visual Basic,VBScript]
Property EmailAddress as String
[C++]
HRESULT get_EmailAddress(BSTR* pVal);
HRESULT put_EmailAddress(BSTR Val);
[IDL]
HRESULT [propget] EmailAddress([out,retval] BSTR* pVal);
HRESULT [propput] EmailAddress([in] BSTR Val);

Remarks

This property defaults to the empty string until the addressee is resolved using the IAddressee::CheckName method. Once 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 IAddressee::CheckName. The EmailAddress is then used along with other property values when attempting to resolve the addressee to a directory object.