Menu

#315 Can't send SMTP notifications to participants (even with working SMTP)

v4.8.0
closed
nobody
None
5
2018-05-09
2017-11-15
No

I run a Davmail 4.8.0.3-2488 instance on a debian server. It successfully manages SMTP, IMAP and Caldav with Office365. We can send and receive emails, and synchronize calendars too.
Since a few days, when we create or modify an event for adding/removing participants, Davmail returns an error: event is updated but email notifications are not sent.

Here is our /etc/davmail.properties:

davmail.server=true
davmail.allowRemote=true
davmail.bindAddress=
davmail.url=https://outlook.office365.com/EWS/Exchange.asmx
davmail.enableEws=true
davmail.imapPort=993
davmail.smtpPort=465
davmail.ldapPort=636
davmail.popPort=995
davmail.caldavPort=8443
davmail.logFileSize=0
log4j.logger.davmail=INFO
log4j.logger.httpclient.wire=WARN
log4j.logger.org.apache.commons.httpclient=WARN
log4j.rootLogger=WARN
davmail.ssl.keystoreType=PKCS12
davmail.ssl.keystoreFile=[...].p12
davmail.ssl.keyPass=[...]
davmail.ssl.keystorePass=[...]

And here is the error I get:

INFO  [SmtpConnection-34942] davmail.connection  - LOGON - [...]:34942 [...]@[...]
2017-11-15 09:07:06,607 ERROR [SmtpConnection-34942] davmail  - ErrorInternalServerError An internal server error occurred. The operation failed., [{00062008-0000-0000-c000-000000000046}:0x8540] dispidPropDefStream
 request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion Version="Exchange2013_SP1"/></soap:Header><soap:Body><m:CreateItem MessageDisposition="SendAndSaveCopy"><m:SavedItemFolderId><t:DistinguishedFolderId Id="sentitems"/></m:SavedItemFolderId><m:Items><t:Message><t:MimeContent>[A big string that looks like crypted content]</t:MimeContent></t:Message></m:Items></m:CreateItem></soap:Body></soap:Envelope>
davmail.exchange.ews.EWSException: ErrorInternalServerError An internal server error occurred. The operation failed., [{00062008-0000-0000-c000-000000000046}:0x8540] dispidPropDefStream
 request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion Version="Exchange2013_SP1"/></soap:Header><soap:Body><m:CreateItem MessageDisposition="SendAndSaveCopy"><m:SavedItemFolderId><t:DistinguishedFolderId Id="sentitems"/></m:SavedItemFolderId><m:Items><t:Message><t:MimeContent>[The same big string (cryted content)]</t:MimeContent></t:Message></m:Items></m:CreateItem></soap:Body></soap:Envelope>
    at davmail.exchange.ews.EWSMethod.checkSuccess(EWSMethod.java:749)
    at davmail.exchange.ews.EwsExchangeSession.internalExecuteMethod(EwsExchangeSession.java:2464)
    at davmail.exchange.ews.EwsExchangeSession.executeMethod(EwsExchangeSession.java:2431)
    at davmail.exchange.ews.EwsExchangeSession.sendMessage(EwsExchangeSession.java:556)
    at davmail.exchange.ews.EwsExchangeSession.sendMessage(EwsExchangeSession.java:572)
    at davmail.exchange.ExchangeSession.sendMessage(ExchangeSession.java:1355)
    at davmail.smtp.SmtpConnection.run(SmtpConnection.java:167)
2017-11-15 09:07:08,956 INFO  [SmtpConnection-34942] davmail.connection  - DISCONNECT - [...]:34942

Discussion

  • Mickael Guessant

    This is a duplicate of bug 661, basically Office465 no longer accepts meeting responses this way => we have to switch to Accept/Decline actions.

     
  • Mickael Guessant

    • status: open --> closed
     
  • Mickael Guessant

    New EWS scheduling implementation available in 4.8.5

     

Log in to post a comment.

MongoDB Logo MongoDB