Closed Bug 1757264 Opened 4 years ago Closed 4 years ago

Unable to send email via hotmail SMTP

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 98
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jaknet, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

Compose an email and click send

Thunderbird version 98.0b2 (32-bit) and the previous build as well

Actual results:

Unable to send email with the error message of

[Sending of the message failed.
The message could not be sent because connecting to Outgoing server (SMTP) smtp.live.com failed. The server may be unavailable or is refusing SMTP connections. Please verify that your Outgoing server (SMTP) settings are correct and try again.]

Nothing has changed in the years I've had Thunderbird, I've checked the smtp settings which are correct.

This has suddenly started happening with the last build of Thunderbird beta and I was going to create an account to post this bug when the client was updated so I decided to wait until I had a need to send another email and yet it's still the very same issue.

The only way I can send any emails is to not use Thunderbird and instead to log into my hotmail account in my browser (Firefox), copy and paste the message I've written into the browser window and then send it from the browser.

I've tried repeatedly sending the message, restarting Thunderbird, restarting my PC and it's constantly the very same message all the time.

This includes writing a new message, replying to a message that has been received, and replying to a message that has not only been received but replied to previously in the past before this issue started.

The very last message I was able to send was on the 21/1/2022.

I don't send many emails so the last 3 that I've been unable to send, all with the very same error message have been on these dates. 17/02/2022, 21/2/2022 and today 26/02/2022

Expected results:

The email should be sent as they have been previously.

According to https://support.microsoft.com/en-us/office/pop-imap-and-smtp-settings-for-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040, can you change your smtp server to smtp-mail.outlook.com, and try again?

That's what my smtp server has been for years

Just to confirm all the details that have not changed for years

SMTP Server - smtp-mail.outlook.com
Port - 587
Connection security - STARTTLS
Authentication method - Normal Password
User name - My email address

(In reply to jaknet from comment #2)

That's what my smtp server has been for years

Just to confirm all the details that have not changed for years

SMTP Server - smtp-mail.outlook.com
Port - 587
Connection security - STARTTLS
Authentication method - Normal Password
User name - My email address - which is a hotmail.co.uk address, hence the cannot send via hotmail title

Strange that the error msg mentions smtp.live.com, can you provide some debug logs?

  1. open Config Editor from the Settings page, set mailnews.smtp.loglevel to All
  2. open DevTools, clear any existing logs in the Console tab
  3. send a mail
Attached image smtp settings.JPG

Image of smtp settings window

This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
blank
window.controllers/Controllers is deprecated. Do not use it for UA detection. blank
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
blank
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
MsgComposeCommands.js:9528:14
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
MimeMessageUtils.jsm:148:23
mailnews.smtp: Sending message <7d16c487-735c-6568-a8d4-d903ea290e73@hotmail.co.uk> SmtpService.jsm:84:18
mailnews.smtp: Connecting to smtp://smtp.live.com:587 SmtpClient.jsm:120:17
mailnews.smtp:
error { target: TCPSocket, isTrusted: true, name: "ConnectionRefusedError", message: "Network", errorCode: 2152398861, srcElement: TCPSocket, currentTarget: TCPSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
SmtpClient.jsm:433:17
mailnews.smtp: Failed to send "QUIT" because socket state is closed SmtpClient.jsm:567:19
mailnews.smtp: Closing connection... SmtpClient.jsm:152:17
mailnews.send: Sending failed; The message could not be sent because connecting to Outgoing server (SMTP) smtp.live.com failed. The server may be unavailable or is refusing SMTP connections. Please verify that your Outgoing server (SMTP) settings are correct and try again., exitCode=2153066798, originalMsgURI= MessageSend.jsm:331:27
Element.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture menupopup.js:169:13

I've noticed in my smtp settings window (image attached) there's a hotmail jaknet smtp.live.com but that's not the default and as I say none of my setting have been changed in years, so I don't know if that has anything to do with this and if so why as it's not the default and nothing has been changed at my end.

Should I remove or edit the non-default Hotmail Jaknet smtp.live.com server?

(In reply to jaknet from comment #7)

Should I remove or edit the non-default Hotmail Jaknet smtp.live.com server?

Please note this forum is not a Support Forum.
Have you asked this question in the Thunderbird Support Forum? If yes, please post a link so we can continue this conversation.
If no, use the information below on this occasion. But, if you need further assistance please ask a question in the Thunderbird Support forum.
https://support.mozilla.org/en-US/questions/new/thunderbird/form

Do not edit the non default Jaknet smtp.live.com.
If you do not use that smtp server in that list for any account then delete it.

Your problem does not sound like a bug. It sounds like that account is not using the smtp server it is suppose to be using.
The image you posted - I can see you selected the default server at bottom of list.
I note it does not have anything in the 'Description'.
So click on 'Edit' and type something useful in that Description field eg: type the email address which is the same as shown in User Name.
click on OK.
Now check that account is actually using the correct SMTP server.
In Account Settings, in left pane, select the name of the account.
Bottom right look for Outgoing Server SMTP, DO NOT click on 'Edit SMTP_Server' as you may edit something used by another account.
Click on the drop down options - this is where you see how that 'Description' field will help -select the one that has the email address which matches the account name email address. OR select 'Use Default Server'
then restart Thunderbird.

(In reply to Anje from comment #8)

(In reply to jaknet from comment #7)

Should I remove or edit the non-default Hotmail Jaknet smtp.live.com server?

Please note this forum is not a Support Forum.

I'm not using this as a support forum, I was simply asking this in reply to Ping Chen (:rnons) who has been helping with this issues in case it might help as it has the smtp.live.com server along with the debug logs as requested by Ping Chen

Your problem does not sound like a bug. It sounds like that account is not using the smtp server it is suppose to be using.

If it wasn't a bug then how come it has suddenly started without any changes on my end at all. If it was just a case of "It sounds like that account is not using the smtp server it is suppose to be using." then this would have been going on all the time I've been using Thunderbird and not suddenly start happening with no changes at my end

Now check that account is actually using the correct SMTP server.
In Account Settings, in left pane, select the name of the account.
Bottom right look for Outgoing Server SMTP, DO NOT click on 'Edit SMTP_Server' as you may edit something used by another account.
Click on the drop down options - this is where you see how that 'Description' field will help -select the one that has the email address which matches the account name email address. OR select 'Use Default Server'

The outgoing server has always been the default server which is the smtp-mail.outlook.com (Default) and this has not changed. As I've previously stated in the original post I was able to end emails without any problem and then with no changes made on my end I I'm now unable to send any emails.

The outgoing server has not been changed at any point before / during or after this change from able to send to not able to send

I understand you're frustrated, me too. It's not easy and sometimes impossible to find the root cause. To me it's good to find a solution and move on. In this case, you can check the smtp server setting of your account, and change accordingly.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME

Many thanks Ping Chen, this seems to have fixed it, though I do not understand what caused Thunderbird to change the outgoing server in that location as I simply don't mess about with the settings all the time they work and nothing had been manually changed in there for years.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: