Reputation: 2977
I am trying to use EWS Java API with Google Mail.
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1);
ExchangeCredentials credentials = new WebCredentials("[email protected]","myPass");
service.setCredentials(credentials);
service.setUrl(new URI("<ews_url>"));
What is the "ews_url" for google mail?
Upvotes: 0
Views: 355
Reputation: 2883
Using EWS Java API to call GMail isn't supported. You can only use it against Exchange 2007 SP1 & higher or Office 365.
Upvotes: 2