# E-mail notification not working

**URL:** <https://forum.inductiveautomation.com/t/e-mail-notification-not-working/70112>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 21, 2023, 2:32pm UTC](https://forum.inductiveautomation.com/t/e-mail-notification-not-working/70112 "2023-02-21T14:32:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Bermejo](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Sam\_Bermejo](https://forum.inductiveautomation.com/u/Sam_Bermejo)\
**Post date:** [February 21, 2023, 2:32pm UTC](https://forum.inductiveautomation.com/t/e-mail-notification-not-working/70112/1 "2023-02-21T14:32:28Z")

</div>

Hi everyone,

I'm trying to set-up an e-mail notification for some alarms. I've configured the alarm notification profile using the outlook SMTP server. Anyone knows how to solve this or where the problem may be?

Thanks

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/e/7e246679b06af2dae6b86a68cb0659ad6f29db73.png)

When I test the alarms, I get this error in the logs:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/e/9e1e167cd17edd1b79009bb50f67ee212c423837.png)

javax.mail.MessagingException: Could not connect to SMTP host: [smtp-mail.outlook.com](http://smtp-mail.outlook.com), port: 587

at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2055)

at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:697)

at javax.mail.Service.connect(Service.java:386)

at javax.mail.Service.connect(Service.java:245)

at javax.mail.Service.connect(Service.java:194)

at javax.mail.Transport.send0(Transport.java:253)

at javax.mail.Transport.send(Transport.java:124)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.sendMessage(EmailNotificationProfile.java:749)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.buildAndMaybeSendMessage(EmailNotificationProfile.java:737)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.run(EmailNotificationProfile.java:651)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile.lambda$sendNotification$0(EmailNotificationProfile.java:465)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.base/java.lang.Thread.run(Unknown Source)

Caused by: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

at java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(Unknown Source)

at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)

at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)

at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)

at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)

at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:543)

at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:348)

at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:236)

at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2019)

... 13 common frames omitted

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [February 21, 2023, 2:36pm UTC](https://forum.inductiveautomation.com/t/e-mail-notification-not-working/70112/2 "2023-02-21T14:36:52Z")

</div>

> [@Sam\_Bermejo](#):
>
> Could not connect to SMTP host: [smtp-mail.outlook.com](http://smtp-mail.outlook.com), port: 587

I'd have IT confirm Ignition is not being blocked from talking with the host.
