為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can't authenticate with Outlook.com's SMTP server. Requires Oauth but Thunderbird doesn't show this option in the drop down

more options

Here's what I've done to try to resolve my issue: - Looked up this help article on support.mozilla.org - My precise problem matches "IMAP/POP3 work, but SMTP does not work" and it's for a personal account so I go visit this article on the hellish ever-changing landscape that is The Microsoft Knowledgebase - All of the server connection settings (address, port, TLS flavor) match - ... but Microsoft wants me to use either "Modern Auth / OAuth2" (other methods are being depreciated), neither of which seem to be available in Thunderbird. - This seems strange since the account itself is using Oauth for the IMAP connection. Why isn't it an option for SMTP? - I try to work around it by creating a new app password on my Microsoft account... - I still get an error telling me to enter a new password (with the checkbox to save in password manager)

Here's what I've done to try to resolve my issue: - Looked up [https://support.mozilla.org/en-US/kb/microsoft-oauth-authentication-and-thunderbird-202#w_imappop3-work-but-smtp-does-not-work this help article] on support.mozilla.org - My precise problem matches "IMAP/POP3 work, but SMTP does not work" and it's for a personal account so I go visit [https://support.microsoft.com/en-us/office/pop-imap-and-smtp-settings-for-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040 this article] on the hellish ever-changing landscape that is The Microsoft Knowledgebase - All of the server connection settings (address, port, TLS flavor) match - ... but Microsoft wants me to use either "Modern Auth / OAuth2" (other methods are being depreciated), neither of which seem to be available in Thunderbird. - This seems strange since the account itself is using Oauth for the IMAP connection. Why isn't it an option for SMTP? - I try to work around it by creating a new app password on my Microsoft account... - I still get an error telling me to enter a new password (with the checkbox to save in password manager)

由 Twisted_Code 於 修改

所有回覆 (8)

more options

Are these your settings?

- incoming: outlook.office365.com, port 993, SSL/TLS, Oauth2 (assuming IMAP) - outgoing: smtp.office365.com, port 587, STARTTLS, Oauth2

有幫助嗎?

more options

Oh did the screenshot not attach? I tried to attach a screenshot but got an error in the process; wasn't sure if it went through, but it shows my outgoing config (aside from username which I'd rather not leak; suffice to say username is something@outlook.com). Let me try attaching this screenshot again, I think the image might have been in the wrong format (I originally had it —mistakenly— as a bitmap, and after converting to PNG it looks like it attached without issue, so check below for that!)

But just for extra assurance regardless of the screenshot: incoming: outlook.office365.com:993 SSL/TLS, Oauth2 Outgoing: smtp-mail.outlook.com:587 STARTTLS, Normal password (as you'll see in the screenshot, there is no Oauth option. This is what confuses me most about my predicament, since) I'm not sure if the outgoing server should be smtp.outlook.com; the Microsoft article says it should be smtp-mail, but I suppose dropping the "-mail" is worth a try.

由 Twisted_Code 於 修改

有幫助嗎?

more options

use the smtp server that I posted

有幫助嗎?

more options

I still get "Login to server with smtp.outlook.com with username <username> failed".

有幫助嗎?

more options

I specified smtp.office365.com try that.

有幫助嗎?

more options

Oh, whoops.... I assure you I know how to read LOL

But no, I still get "Login to server smtp.office365.com with username something@outlook.com failed." when attempting with my app password

Edit: wait, hold that thought, I see an Oauth2 option now when configuring the outgoing server. Where was this before?

由 Twisted_Code 於 修改

有幫助嗎?

more options

My inference is that all is well. Oauth2 wasn't appearing previously because the server name was incorrect. At least, that's my view. :)

有幫助嗎?

more options

....nope. It started working for a time but has gone back to asking for my password (and then rejecting the App password) for some reason, even though I now have it set to Oauth2... it hasn't even popped up an oauth authorization window or anything

Edit: although, after restarting Thunderbird, it might be working again? Unless it consistently stops working and I can't get it working again by restarting, I'm probably back in business. I'm kinda suspicious still of the fact I haven't gotten an Oauth authorization window, but I suspect maybe it already has the authorization it needs from the authorization for the incoming server (I will, for the sake of my own convenience, ignore the fact these capabilities possibly out to be separate, because I don't feel like fighting Micros**t developers on it). If I mark this thread as solved, can I unmark it later if I have more issues that fit the original question? Even if not, I don't think I mind too much having to create a follow-up; just figure I should check before marking.

由 Twisted_Code 於 修改

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題