:admin
10:44:59
Unable to send email: System.Net.Mail.SmtpException: Message could not be sent. ---> System.IO.IOException: Connection closed at System.Net.Mail.SmtpClient.Read ()
[0x000bd] in <f2109503c3e3478285aacd4ff1d0db97>:0 at System.Net.Mail.SmtpClient.SendCore (System.Net.Mail.MailMessage message) [0x00000] in
<f2109503c3e3478285aacd4ff1d0db97>:0 at System.Net.Mail.SmtpClient.SendInternal (System.Net.Mail.MailMessage message) [0x00050] in <f2109503c3e3478285aacd4ff1d0db97>:0
at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) [0x00084] in <f2109503c3e3478285aacd4ff1d0db97>:0 --- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient+<>c__DisplayClass90_0.<SendAsync>b__0 (System.Object o, System.ComponentModel.DoWorkEventArgs ea) [0x0002c] in
<f2109503c3e3478285aacd4ff1d0db97>:0 at System.ComponentModel.BackgroundWorker.OnDoWork (System.ComponentModel.DoWorkEventArgs e) [0x0000a] in
<f2109503c3e3478285aacd4ff1d0db97>:0 at System.ComponentModel.BackgroundWorker.WorkerThreadStart (System.Object argument) [0x0000e] in
<f2109503c3e3478285aacd4ff1d0db97>:0 --- End of stack trace from previous location where exception was thrown --- at EmailSenderPlugin.PluginMain.SendMail
(System.String To, System.String Subject, System.String Message, System.Net.Mail.MailPriority Priority) [0x00160] in <c73a4339d28b460ea4c94acc62f30954>:0
Slow method invocation: TestSMTPSettings took 300259ms to complete.
Slow response: EmailSenderPlugin.TestSMTPSettings took 300261ms to complete.
Actions taken to resolve so far:
I have tried it without “Use SSL”
I tried it on a Debian 12 system.
I tried a simpler password to avoid errors caused by special characters
This is what I find in the Postfix log of my mail server.
01.12.2023, 11:08:57 info disconnect from cable-100-10-10-140.internet.net[100.10.10.140] commands=0/0
01.12.2023, 11:08:57 info lost connection after CONNECT from cable-100-10-10-140.internet.net[100.10.10.140]
01.12.2023, 11:08:57 info SSL_accept error from cable-100-10-10-140.internet.net[100.10.10.140]: Connection timed out
01.12.2023, 11:03:57 info connect from cable-100-10-10-140.internet.net[100.10.10.140]
My email server has discontinued support for TLS1.1.
I have now reactivated TLS 1.0/1.1 and tested it on Debian 12.
Testing SSL server mail.fastm.de on port 465 using SNI name mail.exampel.xyz
SSL/TLS Protocols:
SSLv2 disabled
SSLv3 disabled
TLSv1.0 enabled
TLSv1.1 enabled
TLSv1.2 enabled
TLSv1.3 enabled
But I get the same error messages on the email server and in AMP.
Email server:
01.12.2023, 13:31:51 info disconnect from unknown[100.10.10.140] commands=0/0
01.12.2023, 13:31:51 info lost connection after CONNECT from unknown[100.10.10.140]
01.12.2023, 13:31:51 info SSL_accept error from unknown[100.10.10.140]: Connection timed out
01.12.2023, 13:26:51 info connect from unknown[100.10.10.140]
AMP:
13:31:51
Unable to send email: System.Net.Mail.SmtpException: Message could not be sent. ---> System.IO.IOException: Connection closed at System.Net.Mail.SmtpClient.Read ()
[0x000bd] in <f2109503c3e3478285aacd4ff1d0db97>:0 at System.Net.Mail.SmtpClient.SendCore (System.Net.Mail.MailMessage message) [0x00000] in
<f2109503c3e3478285aacd4ff1d0db97>:0 at System.Net.Mail.SmtpClient.SendInternal (System.Net.Mail.MailMessage message) [0x00050] in <f2109503c3e3478285aacd4ff1d0db97>:0
at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) [0x00084] in <f2109503c3e3478285aacd4ff1d0db97>:0 --- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient+<>c__DisplayClass90_0.<SendAsync>b__0 (System.Object o, System.ComponentModel.DoWorkEventArgs ea) [0x0002c] in
<f2109503c3e3478285aacd4ff1d0db97>:0 at System.ComponentModel.BackgroundWorker.OnDoWork (System.ComponentModel.DoWorkEventArgs e) [0x0000a] in
<f2109503c3e3478285aacd4ff1d0db97>:0 at System.ComponentModel.BackgroundWorker.WorkerThreadStart (System.Object argument) [0x0000e] in
<f2109503c3e3478285aacd4ff1d0db97>:0 --- End of stack trace from previous location where exception was thrown --- at EmailSenderPlugin.PluginMain.SendMail
(System.String To, System.String Subject, System.String Message, System.Net.Mail.MailPriority Priority) [0x00160] in <c73a4339d28b460ea4c94acc62f30954>:0
Slow method invocation: TestSMTPSettings took 300169ms to complete.
Slow response: EmailSenderPlugin.TestSMTPSettings took 300175ms to complete.
No idea then. It could be a network issue but because you’re using an unsupported platform I’ve no idea where to start. I’d suggest trying AMP in a normal VM and seeing if the problem persists.
I ran the last test on another standalone server, with Debian 12 and an AMD Ryzen 5 3600. Do I need to open a new ticket for this as it is a different server?
I’m having the same issue using AMP with AWS SES, they don’t support TLS 1 or 1.1 and require 1.2 or newer; any chance we can get this updated anytime soon?
It’s not fixable until AMP is ported over to a newer framework which is some while away. For now I’d suggest using messaging methods other than email if you need TLS 1.2.