共用方式為


2.2.3.57 EmailAddresses

The EmailAddresses element is an optional child element of the Account element or the Get element in Settings command responses that contains one or more email addresses for the user. The parent element of the EmailAddresses element depends on the protocol version being used. See the details about protocol versions at the end of this section.

All elements referenced in this section are defined in the Settings namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Settings command UserInformation response (section 2.2.1.18)

Account (section 2.2.3.2)

Get (section 2.2.3.83)

SMTPAddress (section 2.2.3.171)

PrimarySmtpAddress (section 2.2.3.138)

container ([MS-ASDTYPE] section 2.2)

0...1 (optional)

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support, child of Get

Element support, child of Account

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes

When protocol version 12.0, 12.1, or 14.0 is used, the parent element of the EmailAddresses element is the Get element. When protocol version 14.1, 16.0, or 16.1 is used, the parent element of the EmailAddresses element is the Account element.

The PrimarySmtpAddress element is supported as a child of the EmailAddresses element only when protocol version 14.1, 16.0, or 16.1 is used.