You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
ExchangeService service = new ExchangeService();
ExchangeCredentials credentials = new TokenCredentials(requset.attachmentToken);
service.setCredentials(credentials);
service.setUrl(new URI(requset.ewsUrl));
String[] arr = (String[]) requset.attachmentsID.toArray();
service.getAttachments(arr, null, new PropertySet(BasePropertySet.FirstClassProperties, ItemSchema.MimeContent));
in docs service.getAttachments take array of string (ID's) but here a need to pass Attachment[]
how to get an array of attachments before gets them from api?