다음을 통해 공유


EmailAddresses Property

Topic Last Modified: 2006-06-13

Contains a list of valid e-mail addresses of the person contact.

Applies To

IPerson Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Property EmailAddresses As String
HRESULT get_EmailAddresses(BSTR* pVal);HRESULT put_EmailAddresses(BSTR Val);

Parameters

  • pVal
    Returns the value of the EmailAddresses property as a reference to a BSTR.
  • Val
    Sets the value of the EmailAddresses property to the value of the BSTR.

Remarks

This property is also available as the proxyaddresses Field in the schema.

When setting multiple e-mail addresses in this property, only one of them should have the SMTP prefix in uppercase, which designates it as the primary e-mail address. If no e-mail addresses has an uppercase SMTP, or all of them do, then no primary e-mail address is designated. If more than one e-mail address has an uppercase SMTP, then the last e-mail address of each protocol will be considered the primary e-mail address for that protocol.