Sending email via SMTP failed

One of our customers reached out today, saying that sending alarm emails no longer works (for the last few days).
When I try sending a test email from the Ignition gateway Test SMTP Server page, this is what I get back:

And this is in the logs:

ScriptDispatcher	30May2023 13:38:21	([default]Valalta/Alarmi/avg_kisik_bazen3, alarmActive) Error executing tag event script: Traceback (most recent call last): File "", line 2, in alarmActive File "", line 18, in sendAlarmEmail nested exception is: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) at com.sun.mail.smtp.SMTPTransport.openServer( at com.sun.mail.smtp.SMTPTransport.protocolConnect( at javax.mail.Service.connect( at javax.mail.Service.connect( at javax.mail.Service.connect( at javax.mail.Transport.send0( at javax.mail.Transport.send( at com.inductiveautomation.ignition.gateway.smtp.SmtpManagerImpl.sendMailWithRetries( at com.inductiveautomation.ignition.gateway.smtp.SmtpManagerImpl.sendEmail( at com.inductiveautomation.ignition.gateway.script.GatewayNetUtilities._sendEmail( at com.inductiveautomation.ignition.common.script.builtin.AbstractNetUtilities.sendEmail( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) javax.mail.MessagingException: javax.mail.MessagingException: Could not connect to SMTP host:, port: 465; nested exception is: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

What does that mean?
Can anybody shed some light...?

On the Ignition gateway, the configuration is not changed for the last 5 years.
To me, it seems that their IT has changed something regarding SMTP email sending...

And the Ignition version is:

I had the same fault when gmail removed SMTP support from their free accounts.

It's on the email side of things.

Yes, I understand, but this is not Gmail...
This is the company's SMTP server.

They probably finally applied patches to close off access via the older, insecure TLS protocols. You will almost certainly have to upgrade to one of the last versions of v7.9.

1 Like

If this is the case, it looks like TLS v1.2 support was added in 7.9.18.


OK then, upgrade it is... :upside_down_face: