-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
outlook-oauth2 issues #137
Comments
Quick update: I got the mail admin to enable |
Thanks for reporting and providing a detailed bug report. 👍 |
To summarize I believe there are three issues:
|
Thanks for investigating. I would suggest prompting for the user address when using the outlook-oauth2 setup wizard. With my monkey-patching that removes user validation, combined with manually updating the user in config, I find the client works great. I use it continually. As stated above, I could not get oauth2 to work for smtp validation. But my company's mail admin activated the permission specified here and now sending works fine: https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission#enable-smtp-auth-for-specific-mailboxes . So maybe smtp2 oauth2 can be a less critical new feature development. I can't offer you a company email but am happy to test a new feature branch :-) |
I have set up debugging to understand better what happens in my environment. Here are my findings:
No email address here. |
Found this in nmails
|
- Fix retrieval of email via ms graph api Resolves: d99kris#137
- Fix retrieval of email via ms graph api Resolves: d99kris#137
Thanks a lot for the PR! Looks fine, will probably merge tomorrow.
Yes, I will probably wait and observe how other email clients will handle this.
Fully understandable 🙂 Actually I found that MS offers 30-days trial of |
Problems authenticating with outlook-oauth2:
Environment:
Summary
This is fantastic and desperately needed software but I had to hack a bit to get Outlook oauth2 to work.
Issues
--setup outlook-oauth2
not documented in readme.md--setup outlook-oauth2
failed. After successfully logging into the Microsoft website that opens during the setup process, the setup exited with message "Setup failed". I had to comment validation as follows to get the setup to work:SmtpClientAuthentication
:See for more info: https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission
The text was updated successfully, but these errors were encountered: