Re: [Davmail-users] Problem: My company moved email to Office365
Brought to you by:
mguessan
From: Lars B. <la...@la...> - 2017-11-07 05:37:28
|
Solved. Answering myself: On Mon, Nov 06, 2017 at 07:01:37PM +0100, Lars Bjørndal wrote: > Hello > > My company has moved email to Office365 server. I'm not able to connect > with DavMail any more, and hopefully, I'll get some help here. > > The information I got from my company, is that the server is > outlook.office365.com. The username is no logner company\user, but > us...@co.... After googling a lot, I tried to set the > davmail.url=https://outlook.office365.com/EWS/Exchange.aspx > > I use mutt as my email client, and I get the following in the log after > trying to log in: > > 2017-11-06 18:40:03,701 ERROR [ImapConnection-46682] davmail.exchange.ExchangeSession - Exchange login exception: 404 Not Found at https://outlook.office365.com/EWS/Exchange.aspx > 2017-11-06 18:40:03,701 INFO [ImapConnection-46682] davmail.connection - FAILED - 127.0.0.1:46682 us...@st... > 2017-11-06 18:40:03,702 ERROR [ImapConnection-46682] davmail - Exchange login exception: 404 Not Found at https://outlook.office365.com/EWS/Exchange.aspx > davmail.exception.DavMailException: Exchange login exception: 404 Not Found at https://outlook.office365.com/EWS/Exchange.aspx > at davmail.exchange.ExchangeSession.<init>(ExchangeSession.java:271) > at davmail.exchange.dav.DavExchangeSession.<init>(DavExchangeSession.java:500) > at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:147) > at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:90) > at davmail.imap.ImapConnection.run(ImapConnection.java:139) > > Any tip? According to https://stackoverflow.com/questions/6801174/davmail-office365 I tried the first link: https://pod51013.outlook.com/ews/exchange.asmx as the davmail.url, and it worked. I use it for calendar/contacts sync and smtp, and I use direct imap to outlook.office365.com for handling incomming email. Thanks Lars |