Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Thunderbird "Error Occurred While Sending Mail

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If Thunderbird shows "An error occurred while sending mail" when you hit Send, it almost always means your outgoing mail server (SMTP) settings are wrong, your password was rejected, or your internet connection is blocking the connection. The quickest fix is to check your SMTP server name, port, and authentication method, then verify your password and try again. Below is a step-by-step guide to get your email sending again.

What You'll Need

  • Your email provider's outgoing mail server (SMTP) settings – usually found on their support page (e.g., smtp.gmail.com for Gmail, smtp.office365.com for Microsoft 365).
  • Your email account password (or an app-specific password if you use two-factor authentication).
  • Access to your email provider's webmail or account settings to check if sending works there.

Step-by-Step

  1. Check if you can send from webmail. Log into your email provider's website and send a test email. If it fails there, the problem is on your provider's side – contact their support. If it works, continue.
  2. Open Thunderbird's SMTP settings. Go to Settings (gear icon) > Account Settings > Outgoing Server (SMTP) at the bottom of the left sidebar. (Labels may vary slightly by version.)
  3. Select your outgoing server and click Edit. You'll see fields for Description, Server Name, Port, Connection Security, and Authentication Method.
  4. Verify the server name and port. Compare them with your provider's official SMTP settings. Common ones: Gmail – smtp.gmail.com, port 465 with SSL/TLS or 587 with STARTTLS; Outlook.com – smtp-mail.outlook.com, port 587 with STARTTLS; Yahoo – smtp.mail.yahoo.com, port 465 or 587. If you're unsure, look up your provider's support page.
  5. Set the correct connection security. Most providers use SSL/TLS (port 465) or STARTTLS (port 587). Choose the one that matches your provider's documentation. If you pick the wrong one, Thunderbird will fail to connect.
  6. Set authentication method. Choose "Normal password" unless your provider requires OAuth2 (like Gmail, Outlook, or Yahoo). If you use OAuth2, make sure you've allowed Thunderbird access when prompted.
  7. Click OK, then OK again to save. Return to the main window.
  8. Send a test message. Compose a new email to yourself and send it. If it works, you're done.
  9. If it still fails, check your password. Go to Settings > Account Settings > Server Settings for your incoming server, and click "Enter Password" or "Manage Passwords". Delete the stored password, then try sending again – Thunderbird will prompt you to re-enter it.
  10. If using two-factor authentication, create an app password. Go to your email provider's security settings, generate an app-specific password, and use that in Thunderbird instead of your normal password.
  11. Check your antivirus or firewall. Temporarily disable your firewall or antivirus (just for a quick test) to see if it's blocking Thunderbird. If sending works with them off, add Thunderbird to the allowed programs list.
  12. Restart Thunderbird. Close and reopen the program after changing settings – sometimes it needs a fresh start to pick up changes.

Common Mistakes

  • Using the wrong port with the wrong security type – for example, using port 465 with STARTTLS instead of SSL/TLS.
  • Leaving the authentication method as "No authentication" when your provider requires a password.
  • Entering your email password instead of an app-specific password when two-factor authentication is enabled.
  • Copying the SMTP server name with a typo (e.g., smpt instead of smtp).
  • Forgetting to update the SMTP settings after your provider changes their servers.

Tips

  • Always double-check your provider's official SMTP settings – they can change.
  • Use the "Test" button in the SMTP settings window (if available) to verify the connection before sending.
  • If you use multiple email accounts, make sure each one has its own correct SMTP server – don't mix them up.
  • Keep Thunderbird updated to the latest version – older versions may have bugs with newer authentication methods.
  • If your provider offers both SSL and STARTTLS, try the other one if one fails – some providers support both but one may be more reliable.

Troubleshooting

If the steps above don't solve it, try these in order:

  1. Check the error message details. Thunderbird often shows a specific error like "Sending of the message failed" with a number (e.g., 0x804b000c). Search that code online along with your provider's name – it often points to a known fix.
  2. Check your internet connection. Try loading a website – if that fails, your connection is down.
  3. Test with a different email client. Set up the same account in a phone's mail app or another desktop client. If it works there, the issue is Thunderbird-specific.
  4. Create a new SMTP server entry. In Outgoing Server (SMTP), click "Add" and enter a fresh entry with the correct settings, then assign it to your account.
  5. Re-enter your password. Go to Settings > Privacy & Security > Saved Passwords, find your outgoing server, and remove the saved password. Then try sending – you'll be prompted to enter it again.
  6. Check if your provider blocks third-party apps. Some providers (like Gmail) require you to enable "Less secure app access" or use OAuth2. If you're using a normal password and it fails, check your provider's security settings.
  7. If nothing works, remove and re-add the account. Go to Settings > Account Settings, select the account, and click "Remove Account". Then add it again from scratch. This will delete the account's local settings but not your emails on the server.

Frequently Asked Questions

Why does Thunderbird say "Sending of the message failed"?

This is a generic error that usually means Thunderbird couldn't connect to your SMTP server. Check the server name, port, and security settings, and verify your password.

What is the difference between SSL/TLS and STARTTLS?

SSL/TLS encrypts the connection from the start, typically on port 465. STARTTLS upgrades an unencrypted connection to encrypted, usually on port 587. Your provider specifies which one to use.

Do I need an app password for Gmail in Thunderbird?

If you have two-factor authentication enabled, yes. Gmail also requires OAuth2 authentication in Thunderbird – you'll be asked to log in via a browser window. If you use a normal password, make sure "Less secure app access" is enabled (not recommended) or use an app password.

Can I use the same SMTP server for multiple accounts?

Yes, but each account must use its own login credentials. If you have multiple accounts from the same provider, you can often use the same server name and port, but Thunderbird will ask for each account's password.

Why does Thunderbird work on Wi-Fi but not on mobile hotspot?

Some mobile carriers block certain SMTP ports (like 25, 465, or 587). Try using a different port or contact your carrier. This is rare but possible.

Will removing my account delete my emails?

No. Removing the account in Thunderbird only removes the local configuration. Your emails remain on the server. You can re-add the account later and they'll reappear.