none
throw an exception by using ews managed api: GetAttachments RRS feed

  • Question

  • i try to get attachments by ews managed api, followed article https://docs.microsoft.com/zh-cn/outlook/add-ins/get-attachments-of-an-outlook-item, but throw an exception with message:

    找不到方法:“Microsoft.Exchange.WebServices.Data.ServiceResponseCollection`1<Microsoft.Exchange.WebServices.Data.GetAttachmentResponse> Microsoft.Exchange.WebServices.Data.ExchangeService.GetAttachments(System.String[], System.Nullable`1<Microsoft.Exchange.WebServices.Data.BodyType>, System.Collections.Generic.IEnumerable`1<Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase>)”。

    i can get email content or unread email by ews managed api successly, could anyone help figure out why it throw exception?

    exchange server: 2013, version 15.0(Build 1263.5)

    Wednesday, March 20, 2019 9:59 AM