A java client library to access Exchange web services. The API works against Office 365 Exchange Online as well as on premises Exchange.
@philipwhiuk we read your comment on OfficeDev/ews-java-api#692 "If I don't get any feedback by November, I'll probably just create the org and start this process."
Can this issue OfficeDev/ews-java-api#713 not fix immediately? Our work stuck on the conversation API.
Any help on this error:
List of possible elements expected: 'SortOrder, ParentFolderId' in namespace 'http://schemas.microsoft.com/exchange/services/2006/messages'.
SearchFilter.IsEqualTo idFilter =
new SearchFilter.IsEqualTo(ConversationSchema.Id, conversationId);
FindConversationRequest request = new FindConversationRequest(exchangeService);
request.setIndexedItemView(new ConversationIndexedItemView(1, 0, OffsetBasePoint.Beginning));
request.setConversationViewFilter(idFilter);
request.setFolderId(new FolderIdWrapper(folderId));
Collection<Conversation> singleConversation = request.execute().getConversations();
Hi all
Will EWS JAVA API work after Basic Authentication decommission?
Also, can someone please let me know on how to authenticate with OAuth 2.0 for Exchange online servers (myexchangedomain.com).
Hi ,
When we send messages, the disclaimer defined in Mail flow rule will always be at the bottom of the entire body content, the original content will also be considered as part of body content.
It there feasible to take the disclaimer to the bottom of the most recent content?
This is very important for most users and customers if could help. Thanks
Regards,
public static ExchangeService connectViaExchangeAutodiscover(String email, String password) {
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
try {
service.setCredentials(new WebCredentials(email, password));
service.autodiscoverUrl(email, new RedirectionUrlCallback());
service.setTraceEnabled(true);
Folder inbox = Folder.bind(service, WellKnownFolderName.Inbox);
System.out.println("messages: " + inbox.getTotalCount());
}
catch (Exception e){
e.printStackTrace();
}
return service;
}