SANtricity System Manager email test configuration fails
Applies to
- NetApp E-Series
- SANtricity OS 11.90 and later
- Email Alert using SMTPS or STARTTLS encryption
Issue
- After configuring mail server using encryption, getting error sending test alert emails via Settings > Alerts in SANtricity System Manager:
Error: Email test failed because: There was an unknown error with the mail server
OR
Error: Email test failed because: There was a connection error with the mail server
- After configuring the mail server details, upon reopening the Configure Mail Server window, the Select email encryption type... does not retain the previous selection (i,e STARTTLS).
-
In E-Series support data under the
web-server-trace.log
, the following error message is returned when configuring the mail server:
2025-04-07 19:04:06,844 INFO [jetty-137939] trace [AlertConfigurationServiceImpl.java:227] [requestId=f7dacaa1-4d4d-4e9a-8b2f-28cf8ade1a63, deviceId=1] Updating Alert Configuration data
2025-04-07 19:04:24,883 INFO [jetty-137939] c.n.e.a.d.s.SMTPSender [SMTPSender.java:171] [requestId=9b661c35-6363-427a-8bb0-b0b7a0e6f094, deviceId=1] SMTP sender error, jakarta.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful
2025-04-07 19:04:24,883 ERROR [jetty-137939] c.n.e.a.d.s.SMTPSender [SMTPSender.java:200] [requestId=9b661c35-6363-427a-8bb0-b0b7a0e6f094, deviceId=1] SMTP message send failed to: email.demo.com
OR
2025-09-24 13:24:10,734 ERROR [jetty-553120] c.n.e.a.d.s.SMTPSender [SMTPSender.java:200] [requestId=0bdbcd9a-0e45-447b-abc5-a643f455e71a, deviceId=1] SMTP message send failed to: xxx.office365.com
Caller+0 at com.ni.eseries.aa.devicemgt.smtp.SMTPSender.sendMessage(SMTPSender.java:200)
Caller+1 at smmonitor.persistentmonitor.SMTPMsgPackager.sendTestMail(SMTPMsgPackager.java:316)
Caller+2 at smmonitor.services.AlertConfigurationServiceImpl.testAlertEmail(AlertConfigurationServiceImpl.java:301)
Caller+3 at com.ni.eseries.aa.restapi.servants.DeviceAlertImpl.testAlertEmail(DeviceAlertImpl.java:115)
Caller+4 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
com.sun.mail.smtp.SMTPSendFailedException: 451 5.7.3 STARTTLS is required to send mail