編輯

共用方式為


ActingAs

The ActingAs element identifies who the caller is sending as.

<ActingAs>
   <EmailAddress/>
   <RoutingType/>
</ActingAs>

EmailAddressType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
EmailAddress (NonEmptyStringType)
Defines the Simple Mail Transfer Protocol (SMTP) address of a mailbox user. This element is optional.
RoutingType (EmailAddress)
Defines the routing that is used for the mailbox. The default is SMTP. This element is optional.

Parent elements

Element Description
GetServiceConfiguration
Defines a GetServiceConfiguration request.

Remarks

This element is optional. If this element is not present, the authenticated user is assumed to be the sender. The ActingAs element must be included for requesting sender hints. An ErrorInvalidArgument error can be returned in a response if the ActingAs element is missing, does not include a routing type, does not include an e-mail address, contains an invalid e-mail address, does not resolve to a user in Active Directory Domain Services (AD DS), or resolves to multiple users in AD DS.

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/messages
Schema Name
Messages schema
Validation File
Messages.xsd
Can be Empty
False

See also