SMTP - cannot send emails, error 'server not responding'

SMTP - cannot send emails, error ‘server not responding’
Emails remain in outbox.
POP3 used for inbox, works OK

sábado 11 febrero 2023 :: 0746hrs (UTC +0100)

You need to give more info like:
Your service provider
The settings you have

¡Buena suerte!

¡Saludos desde Valencia la soleada en España!

skybat

[email protected]

Hablo español, luego portugués e inglés, con conocimiento de varios otros idiomas.

If you’re using an microsoft outlook.com email (MS accounts, such as outlook.com, hotmail.com, live.com), then this is the problem: Problems when sending emails via SMTP with outlook.com accounts

The solution/Fix is at the bottom of the announcement

Commented this to give that announcement extra visibility, as this thread popped up via google search when i was trying to find a fix.

1 Like

OK,
Server
Host: mail.optusnet.com.au
Port: 25
Security Policy: Force usage of SSL/TLS

Also, diagnostics log copied below.
Note: there are 2 accounts involved.
3:26:46 PM Online state: changed to online due to NetworkAvailability
3:26:46 PM [email protected] SMTP Connecting: To [email protected]
3:26:46 PM [email protected] SMTP Connecting: To [email protected]
3:26:46 PM [email protected] POP3 Connecting: To [email protected]
3:26:46 PM [email protected] POP3 Connecting: To [email protected]
3:26:46 PM [email protected] POP3 Connected: To [email protected]
3:26:46 PM [email protected] POP3 Listing messages: From [email protected]
3:26:46 PM [email protected] POP3 Connected: To [email protected]
3:26:46 PM [email protected] POP3 Listing messages: From [email protected]
3:26:46 PM [email protected] POP3 Disconnected: From [email protected]
3:26:46 PM [email protected] POP3 Disconnected: Done
3:26:46 PM [email protected] POP3 Disconnected: From [email protected]
3:26:46 PM [email protected] POP3 Disconnected: Done
3:27:07 PM [email protected] [SMTP] MailClient.Accounts.SocketException: Connection failed due to the following reason:
“A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 211.29.132.250:25”
at MailClient.Protocols.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
at MailClient.Protocols.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
EnqueuedStackTrace =
at MailClient.Protocols.Smtp.SmtpAccount.<>c__DisplayClass3_0.b__0()
at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
at MailClient.Protocols.Smtp.SmtpAccount.SendAsync(IEnumerable1 items, Action1 sentItem, Action1 completed, CancellationToken cancellationToken) at MailClient.Accounts.BindingAccountBase.SendInternal() at MailClient.Accounts.BindingAccountBase.Send() at MailClient.Accounts.AccountManager.SendAllInternal(Boolean checkIncludeInGlobalOperations) at MailClient.Accounts.AccountManager.SendAndReceiveAll(Boolean checkIncludeInGlobalOperations) at MailClient.Program.<>c.<AfterStartup>b__277_0(Task _) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread) at System.Threading.Tasks.Task.ExecuteFromThreadPool(Thread threadPoolThread) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() GUIStatus_Exception_Reported = True 3:27:07 PM [email protected] [SMTP] MailClient.Accounts.SocketException: Connection failed due to the following reason: "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 211.29.132.250:25" at MailClient.Protocols.Smtp.SmtpSendCommand.Connect(WorkerStatus status) at MailClient.Protocols.Smtp.SmtpSendCommand.Execute(WorkerStatus status) at MailClient.Commands.Command.Process(WorkerStatus status) EnqueuedStackTrace = at MailClient.Protocols.Smtp.SmtpAccount.<>c__DisplayClass3_0.<SendAsync>b__0() at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline) at MailClient.Protocols.Smtp.SmtpAccount.SendAsync(IEnumerable1 items, Action1 sentItem, Action1 completed, CancellationToken cancellationToken)
at MailClient.Accounts.BindingAccountBase.SendInternal()
at MailClient.Accounts.BindingAccountBase.Send()
at MailClient.Accounts.AccountManager.SendAllInternal(Boolean checkIncludeInGlobalOperations)
at MailClient.Accounts.AccountManager.SendAndReceiveAll(Boolean checkIncludeInGlobalOperations)
at MailClient.Program.<>c.b__277_0(Task _)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread)
at System.Threading.Tasks.Task.ExecuteFromThreadPool(Thread threadPoolThread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
GUIStatus_Exception_Reported = True

The settings are wrong.

For port 25, the security policy should be Use SSL/TLS if available

But you could also try the other two possibilities:

Port 587 = Force usage of SSL/TLS
Port 465 = Use SSL/TLS on special port (legacy)

If that still doesn’t work, as a test, can you completely disable any anti-virus, firewall, proxy or VPN, then try send again. Sometimes even restarting your router may resolve this.

1 Like