EWS cannot identify the attachment in an Exchange Server 2010 environment

Applies to: Exchange Server 2010 Service Pack 3Exchange Server 2010 EnterpriseExchange Server 2010 Standard

Symptoms


When you retrieve an email attachment by using an Exchange Web Services (EWS) application, the ContentID element does not follow the order that is dictated by the XML schema. Specifically, the ContentID element may be returned as the last property instead of following the order of the elements. Therefore, EWS cannot identify the attachment.

Resolution


To resolve this issue, install the following update rollup:
2936871 Update Rollup 6 for Exchange Server 2010 Service Pack 3

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


The protocol schema defines that the properties should be returned in the following order in the AttachmentType complex type:
  • AttachmentId
  • Name
  • ContentType
  • ContentId
  • ContentLocation
  • Size
  • LastModifiedTime
  • IsInline
For more information about the Attachment Handling Web Service protocol, go to the following Microsoft website: