davmail
davmail copied to clipboard
O365 Interactive/Manual does not open anything
I'm new to DavMail and have been reading through the docs trying to get started. I'm trying to connect to my company's O365 server which requires MFA. I've tried setting the mode to both O365Interactive and O365Manual and I gather that I'm supposed to see a window or pop-up of some kind that connects to the server and starts the authentication flow, but I'm not seeing anything.
It's possible this is user error, but if so then I am not sure what I'm doing wrong. I'm tailing the log files and I see DavMail trying to connect to the O365 server and it gets a 401 Unauthorized response (of course).
Forgot to mention: I'm on macOS Catalina.
Hitherto I have used a server configuration with the DavMail mode "Interactive/Manual" successfully - but today, after some weeks of not being asked to authenticate, I find I cannot open anything - neither the link works not the Open button.
well, any when I exit DavMail, then suddenly the browser gets the signal to open the link.
workaround: press "open" once. then exit the DavMail. Then the browser opens. Authenticate yourself. then start the davil client again, wait for the request to paste the URL. Then copy and paste from the browser.
Unfortunately that doesn't work for me. Even when exiting DavMail, nothing opens in my browser. I've tried both server and workstation modes.
My problem looks similar to the one mentioned here. Unfortunately that poster never got a response.
In order to make interactive authentication work, you need an up to date JDK with OpenJFX support.
DavMail was tested with latest Azul JRE FX, on windows a standalone package is available with this this JRE, on Linux you can use the platform independent package and execure davmail azul
once to get Azul JRE with OpenJFX support.
If your issue is DavMail interaction with browser, please try latest trunk build: recently merged a pull request to add a copy to clipboard button
Thanks a lot, but at https://sourceforge.net/projects/davmail/files/davmail%20trunk/
, unfortunately, I cannot find the trunk build. Where to find it, please?
Trunk builds are available on Github directly: https://github.com/mguessan/davmail#trunk-builds
I don't know much about Java. I am using MacPorts and I've tried using the openjdk16
package, the openjdk16-zulu
package (which is the Azul version), and I've also installed openjfx11
(the only version of OpenJFX available in MacPorts). All of these have the same result: when I select O365 Interactive in the settings dropdown, nothing happens.
re the trunk: The clipboard button works! Thanks!
I don't know much about Java. I am using MacPorts and I've tried using the
openjdk16
package, theopenjdk16-zulu
package (which is the Azul version), and I've also installedopenjfx11
(the only version of OpenJFX available in MacPorts). All of these have the same result: when I select O365 Interactive in the settings dropdown, nothing happens.
I also met the same issue on fedora 34. And I tried the latest davmail-6.0.0-trunk.zip. I could copy the url and open it in browser. What should I do the next step ? I passed the authentication and got stuck in url 'Are you trying to sign in to Microsoft Office?' There are just 2 options Cancel and Continue. I clicked both of them but didn't get any response.. I also paste the url to davmail manual authentication window Authentication code line. But login failed...