EWS Java API 1.1与https://podxxxxx.outlook.com/ews/Exchange.asmx之间的随机连接错误

时间:2012-09-04 14:18:41

标签: java exchangewebservices office365 ewsjavaapi

我正在使用主题中的连接设置发送电子邮件。我必须发送附件。 代码有效,但我随机收到两个错误:

[java] INFO: Failure authenticating with BASIC ''@podxxxxx.outlook.com:443
[java] Error occured while sending the mail for: x@y.com
[java] microsoft.exchange.webservices.data.HttpErrorException: The remote server returned an error: (401)Unauthorized
[java] at microsoft.exchange.webservices.data.ServiceRequestBase.validateAndEmitRequest(Unknown Source)

或更经常:

[java] microsoft.exchange.webservices.data.ServiceResponseException: An internal server error occurred. Try again later.
[java] microsoft.exchange.webservices.data.ServiceResponse.internalThrowIfNecessary(Unknown Source)

有什么建议吗?

0 个答案:

没有答案