Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

smtp.office365.com with OAuth2 does not work

more options

I use SMTP settings

Description: smtp.office365.com Server Name: smtp.office365.com Port: 587 User Name: mypersonalaccout@hotmail.com Authentication method: OAuth2 Connection Security: STARTTLS

but TB is incapable of sending email. Either I got dialog https://software9119.technology/__other/tb/dialog.png or error https://software9119.technology/__other/tb/timed-out.png.

I tried cleaning cache and made some re+/search with no avail. There seems to exist some Authenticated SMTP but this is only available on Exchange 365 while this is my personal Outlook.com account.

Same question had Bill Swartout at 1/9/24, 2:30 PM with no answer, https://support.mozilla.org/en-US/questions/1423404#answer-1629472.

I use SMTP settings Description: smtp.office365.com Server Name: smtp.office365.com Port: 587 User Name: mypersonalaccout@hotmail.com Authentication method: OAuth2 Connection Security: STARTTLS but TB is incapable of sending email. Either I got dialog https://software9119.technology/__other/tb/dialog.png or error https://software9119.technology/__other/tb/timed-out.png. I tried cleaning cache and made some re+/search with no avail. There seems to exist some Authenticated SMTP but this is only available on Exchange 365 while this is my personal Outlook.com account. Same question had Bill Swartout at 1/9/24, 2:30 PM with no answer, https://support.mozilla.org/en-US/questions/1423404#answer-1629472.
Attached screenshots

All Replies (14)

more options

Applies for:

  • TB 128.2.3esr (64-bit) and 131.0b6 (32-bit)
  • Microsoft Win 11 Pro, 23H2, build 22631.4169, Windows Feature Experience Pack 1000.22700.1034.0

Helpful?

more options

What is your anti-virus software?

Helpful?

more options

Oh, surely. That is Panda Dome 22.02.00.

Helpful?

more options

Try to start Windows 11 in safe mode with networking enabled.

Still in Windows safe mode, start Thunderbird in safe mode. Does the problem go away?

Windows safe mode disables anti-virus software. This is a troubleshooting step, not a solution.

Helpful?

more options

Tested with AV disabled and in safe mode. Result is same. Did you really expect this would help?

Helpful?

more options

Can you confirm you did start Windows in safe mode?

Did you really expect this would help?

As stated, it is a troubleshooting step. Anti-virus software is often causing problems with Thunderbird.

Helpful?

more options

I found it unnecessary since Panda Dome can be easily switched off.

Modified by fire-in-the-mine-hole

Helpful?

more options

Do TB have some activity log? Maybe there can be read some useful error message.

Helpful?

more options

I got shot of error console. Regarding it root should be some Unrecognized command 'Length: 7'.

Helpful?

more options

Just in case you want to know the bug report on this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1919695

I'm still trying to locate a resolution.

Some people did find removing the scopes helped, but others did not. In Thunderbird

  • Settings > General
  • Scroll to bottom and click on 'Config Editor'
  • Search for : oauth2.scope
  • Please copy the info and paste into this forum, so we have a record of what you removed.
  • then do this- note <NN> refers to whatever number you see.
  • check the 'mail.server.server<NN>.oauth2.scope' pref and remove it (should get auto-recreated). You may also need to find the relevant old oauth login in the logins and delete it.
  • Also delete the oauth://... and smtp://..from the saved passwords.

Restart Thunderbird. Enter password at prompt etc.

Please make sure the User Name for smtp is full email address for the hotmail primary account and not one it's alias's.

Helpful?

more options

What I did:

Password and scope was automatically recreated. IMAP works. STMP still don't.

Helpful?

more options

Attempt 2:

  • account removal, messages included
  • password and .server<NN>.oauth2 removal
  • restart

It is not possible to add account. Password verification does not open OAuth dialog. During auto-detection errors are detected. Stuck in Checking password… phase.

TB β 131.0b6 (32-bit).

Modified by fire-in-the-mine-hole

Helpful?

more options

When no password is entered and manual configuration is entered, information is logged.

After confirmation again, endless password checking and no OAuth dialog.

Modified by fire-in-the-mine-hole

Helpful?

more options

One more symptom for the soup. When sedning fails, dialog about action is opened. When Enter password is chosen, no input dialog opened and TB tries to send message directly again.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.