我正在尝试将EWS Java API与Google Mail结合使用。
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1);
ExchangeCredentials credentials = new WebCredentials("me@GMAIL.com","myPass");
service.setCredentials(credentials);
service.setUrl(new URI("<ews_url>"));
google mail的“ews_url”是什么?
答案 0 :(得分:2)
不支持使用EWS Java API来调用GMail。您只能将它用于Exchange 2007 SP1&amp;更高或Office 365。