邮箱Mailbox

本文档可能包含与预发布功能或产品相关的内容,这些功能或产品在最终商业发布之前可能会有重大变化。本文档按"原样"提供,仅供参考,Microsoft 不在本文档中作出任何明示或暗示担保。 Mailbox 元素标识启用了邮件的 Active Directory 对象。The Mailbox element identifies a mail-enabled Active Directory object.

<Mailbox>
   <Name/>
   <EmailAddress/>
   <RoutingType/>
   <MailboxType/>
   <ItemId/>
</Mailbox>

EmailAddressTypeEmailAddressType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

无。None.

子元素Child elements

元素Element 说明Description
名称 (EmailAddressType)Name (EmailAddressType)
定义邮箱用户的名称。此元素是可选的。Defines the name of the mailbox user. This element is optional.
EmailAddress (NonEmptyStringType)EmailAddress (NonEmptyStringType)
定义邮箱用户的简单邮件传输协议 (SMTP)地址。此元素是可选的。Defines the Simple Mail Transfer Protocol (SMTP) address of a mailbox user. This element is optional.
RoutingType (EmailAddress)RoutingType (EmailAddress)
定义用于邮箱路由。默认值为 SMTP。此元素是可选的。Defines the routing that is used for the mailbox. The default is SMTP. This element is optional.
MailboxTypeMailboxType
定义邮箱用户的邮箱类型。此元素是可选的。Defines the mailbox type of a mailbox user. This element is optional.
ItemIdItemId
定义用户联系人文件夹收件人的联系人或私人通讯组列表的项标识符。此元素为可选。Defines the item identifier of a contact or private distribution list for recipients from a user's contacts folder. This element is optional.

父元素Parent elements

元素Element 说明Description
ExpandDLExpandDL
定义展开通讯组列表的请求。Defines a request to expand a distribution list.

下面是此元素的 XPath 表达式: /ExpandDLThe following is the XPath expression to this element: /ExpandDL
ToRecipientsToRecipients
包含项目的收件人数组。Contains an array of recipients of an item.
CcRecipientsCcRecipients
表示将收到邮件副本的收件人集合。Represents a collection of recipients that will receive a copy of the message.
BccRecipientsBccRecipients
表示接收电子邮件的密件抄送 (Bcc) 的收件人集合。Represents a collection of recipients to receive a blind carbon copy (Bcc) of an e-mail.
ReplyToReplyTo
标识副本应发送到的电子邮件地址数组。Identifies an array of e-mail addresses to which replies should be sent.
发件人Sender
标识项目的发件人。Identifies the sender of an item.
发件人From
表示邮件发件人的地址。Represents the addressee from whom the message was sent.
OrganizerOrganizer
表示会议的组织者。Represents the organizer of a meeting.
DistinguishedFolderIdDistinguishedFolderId
标识默认的 Microsoft Exchange Server 2007 文件夹。Identifies default Microsoft Exchange Server 2007 folders.

下面是此元素的 XPath 表达式:The following are the XPath expressions to this element:

/CreateItem/ParentFolderId/DistinguishedFolderId
/CreateFolder/ParentFolderId/DistinguishedFolderId
解决方法Resolution
包含单个已解析的实体。Contains a single resolved entity.
DLExpansionDLExpansion
包含通讯组列表包含的邮箱数组。Contains an array of mailboxes that are contained in a distribution list.
参与者Attendee
表示日历项的与会者和资源。Represents attendees and resources for a calendar item.
CreateManagedFolderCreateManagedFolder
定义请求以将托管文件夹添加到邮箱。Defines a request to add managed folders to a mailbox.
AddDelegateAddDelegate
定义请求以将代理人添加到邮箱。Defines a request to add delegates to a mailbox.
GetDelegateGetDelegate
定义请求以获取有关委派给邮箱的信息。Defines a request to get information about delegates to a mailbox.
RemoveDelegateRemoveDelegate
定义请求以从邮箱删除代理人。Defines a request to remove delegates from a mailbox.
UpdateDelegateUpdateDelegate
定义请求以更新邮箱中的代理人。Defines a request to update delegates in a mailbox.
ReceivedByReceivedBy
描述委派访问方案中的代理人。Describes the delegate in a delegate access scenario.
ReceivedRepresentingReceivedRepresenting
描述委派访问方案中的主体。Describes the principal in a delegate access scenario.
MemberMember
表示一个通讯组列表的成员。Represents a member of a distribution list.

文本值Text value

无。None.

说明Remarks

EmailAddress (NonEmptyStringType)ItemId 元素识别邮箱或通讯组列表。The EmailAddress (NonEmptyStringType) and ItemId elements identify a mailbox or distribution list.

EmailAddress (NonEmptyStringType) 元素通过 SMTP 地址识别邮箱或通讯组列表。The EmailAddress (NonEmptyStringType) element identifies a mailbox or distribution list by SMTP address.

ItemId 元素通过与特定邮箱相关联的项标识符识别邮箱。The ItemId element identifies a mailbox by an item identifier, which is associated with a particular mailbox.

无法使用 ItemId 元素向公共联系人文件夹中的通讯组列表或联系人发送邮件。The ItemId element cannot be used for sending a message to a distribution list or a contact in a public contacts folder. 在尝试向联系人公共文件夹中的通讯组列表或联系人发送邮件时,如果在 CreateItem、UpdateItem 或 SendItem 操作中使用此元素则会引发错误。An error will be thrown if this is used in a CreateItem, UpdateItem, or SendItem operation when an attempt is made to send a message to a distribution list or contact in a contacts public folder. 使用 ExpandDL 操作获取 SMTP 地址,然后通过使用 EmailAddress (NonEmptyStringType) 元素发送邮件,而不是使用 ItemId 元素。Use the ExpandDL operation to get the SMTP address and then send the message by using the EmailAddress (NonEmptyStringType) element instead of the ItemId element.

另一个元素 邮箱 (可用性) 为可用性操作提供信息。Another element, Mailbox (Availability), provides information for availability operations.

描述此元素的架构位于承载 Exchange Web Services 的 IIS 虚拟目录中。The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

元素信息Element information

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/types
架构名称Schema Name
类型架构Types schema
验证文件Validation File
Types.xsdTypes.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also