This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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

Sending email with outlook 365 via smtp

  • 1 (رد واحد)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه svlad2009

more options

I'm trying to configure thunderbird to access my email via outlook 365. Security settings are set up with 2FA and no app passwords, so that is not an option.

I've setup IMAP with oauth2 and that is working fine to receive mail and even store drafts on the server.

However when I try to send emails via SMTP I'm getting an error that thunderbird cannot log in with username. SMTP is setup with starttls and oauth2. I tried SSL/TLS but connection times out, I also tried normal password but that fails as well. Also, when it fails to connect there is a button "enter new password" but that doesn't ask for password and just closes window second time around.

The office 365 security page is not logging a failed login attempt.

My main suspicion is that thunderbird ignores oauth2 over starttls, but not sure how to check what it's actually trying to do.

I tried the latest 72.2.2 and 81.0b4, same behavior. I also tried removing the account as well as removing the whole thunderbird directory, to no avail. System is OsX Catalina. Apple mail and iphone manage to login to account.

I'm trying to configure thunderbird to access my email via outlook 365. Security settings are set up with 2FA and no app passwords, so that is not an option. I've setup IMAP with oauth2 and that is working fine to receive mail and even store drafts on the server. However when I try to send emails via SMTP I'm getting an error that thunderbird cannot log in with username. SMTP is setup with starttls and oauth2. I tried SSL/TLS but connection times out, I also tried normal password but that fails as well. Also, when it fails to connect there is a button "enter new password" but that doesn't ask for password and just closes window second time around. The office 365 security page is not logging a failed login attempt. My main suspicion is that thunderbird ignores oauth2 over starttls, but not sure how to check what it's actually trying to do. I tried the latest 72.2.2 and 81.0b4, same behavior. I also tried removing the account as well as removing the whole thunderbird directory, to no avail. System is OsX Catalina. Apple mail and iphone manage to login to account.

All Replies (1)

more options
I'm getting an error that thunderbird cannot log in with username.

What is the full error - can you add a screenshot?

Modified by svlad2009