STARTTLS command failed (again)

I suddenly started to get this error when sending emails. I can’t even send a test email to myself. I haven’t made any changes to the settings. It first happened a couple of weeks ago when I contacted my provider (Seanic) and was told that there were no issues at their end. It somehow resolved itself within a couple of days but now it has started again. I have no issues with receiving mail and I can send mail if I change to ‘don’t use secure connection’ but obviously that isn’t a long term solution. A copy of the log is below.

What is going on and can you fix it please?

12:09:10 [email protected] SMTP Connecting: To [email protected]
12:09:11 [email protected] [SMTP] MailClient.Accounts.ConnectionException: Invalid server reply when connecting: ‘Unexpected end of stream.’.
at MailClient.Protocols.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
at MailClient.Protocols.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
— End of stack trace from previous location —
at MailClient.Accounts.AccountManager.SendAsync(IAccount account, CancellationToken cancellationToken)
at MailClient.Reminders.ReminderManager.TimerSendLaterTrigger(Object sender, ElapsedEventArgs e)
AccountId = 6043e91e-2c96-4d91-a03e-cb65c8f7fb0f
AccountName = [email protected]
RunInPlace = False
GUIStatus_Exception_Reported = True
12:09:14 [email protected] SMTP Connecting: To [email protected]
12:09:14 [email protected] POP3 Connecting: To [email protected]
12:09:15 [email protected] [SMTP] MailClient.Accounts.ConnectionException: Invalid server reply when connecting: ‘Unexpected end of stream.’.
at MailClient.Protocols.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
at MailClient.Protocols.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
AccountId = 6043e91e-2c96-4d91-a03e-cb65c8f7fb0f
AccountName = [email protected]
RunInPlace = False
GUIStatus_Exception_Reported = True
12:09:15 [email protected] POP3 Connected: To [email protected]
12:09:15 [email protected] POP3 Listing messages: From [email protected]
12:09:15 [email protected] POP3 Downloading messages: From [email protected]
12:09:16 [email protected] POP3 Disconnected: From [email protected]
12:09:16 [email protected] POP3 Disconnected: Done

If you haven’t changed any mail account settings and your mail server end is ok, then sometimes that can be related to eg: background resident programs interferring such as optionally installed Firewall / Security programs, or optionally installed Antivirus programs or vpns.

So if you have anything like that installed "other than what comes default with your OS, “try completely disabling those to test”.

If you have nothing like that optionally installed or you do but disabling made no differance, then go to “Menu / Accounts” and click on your “SMTP tab” and update what your “Server Address, Server Port & Security Policy” is, so we can check if there is any obvious errors.

Thank you. It fixed itself once I found the ‘fix’ button. It is now using a completely different port number (587) and credentials (identity credentials) to the ones recommended by Seanic (Username: full email address, Password: corresponding email password, Port: 465) but it’s working fine with security policy ‘always use STARTTLS’ so it’s solved for now.