mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
573 stars 82 forks source link

Davmail does not work correctly for partner.outlook.cn with O365Interactive mode #223

Open yuhaoth opened 2 years ago

yuhaoth commented 2 years ago

With O365Interactive mode and ewsURl is https://partner.outlook.cn/ews/exchange.asmx , it does not login with right auth site. It expect login with https://login.partner.microsoftonline.cn. And I found :

DDoSolitary commented 1 year ago

Just did a quick search&replace in the code, and it works for my company's mailbox https://github.com/DDoSolitary/davmail/tree/21vianet https://ci.appveyor.com/project/DDoSolitary/davmail/build/job/fix01qbaqdtwm29k/artifacts Will try to add an configuration option later

yuhaoth commented 9 months ago

@DDoSolitary , I am not sure if you want to create a PR? I am not familiar with Java. I hope it can be fixed in release version