# Ignition 7.6 and smtp.office365.com

**URL:** <https://forum.inductiveautomation.com/t/ignition-7-6-and-smtp-office365-com/54332>\
**Category:** Ignition\
**Created:** [December 20, 2021, 8:44pm UTC](https://forum.inductiveautomation.com/t/ignition-7-6-and-smtp-office365-com/54332 "2021-12-20T20:44:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmonter](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jmonter](https://forum.inductiveautomation.com/u/jmonter)\
**Post date:** [December 20, 2021, 8:44pm UTC](https://forum.inductiveautomation.com/t/ignition-7-6-and-smtp-office365-com/54332/1 "2021-12-20T20:44:04Z")

</div>

Hi,  
Recently Microsoft changed the way emails are send using TLS1.1, I upgrade java and it work for about a week and now its having issues again. Does any one know of a way to fix it?

12:04:40 PM EmailNotificationProfile[Email\_SMS] [[hostname=smtp.office365.com](http://hostname=smtp.office365.com),port=587] Error sending message to user ‘usr-prov:default:/usr:XXX’.

javax.mail.MessagingException: Could not connect to SMTP host: [smtp.office365.com](http://smtp.office365.com), port: 587;  
nested exception is:  
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message  
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2211)  
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:740)  
at javax.mail.Service.connect(Service.java:388)  
at javax.mail.Service.connect(Service.java:246)  
at javax.mail.Service.connect(Service.java:195)  
at javax.mail.Transport.send0(Transport.java:254)  
at javax.mail.Transport.send(Transport.java:124)  
at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.run(EmailNotificationProfile.java:343)  
at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$3.run(EmailNotificationProfile.java:196)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.lang.Thread.run(Unknown Source)  
Caused by: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message  
at sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(Unknown Source)  
at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)  
at sun.security.ssl.SSLTransport.decode(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)  
at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:626)  
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:400)  
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)  
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2175)  
… 11 more

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 20, 2021, 8:46pm UTC](https://forum.inductiveautomation.com/t/ignition-7-6-and-smtp-office365-com/54332/2 "2021-12-20T20:46:31Z")

</div>

Unfortunately in the [other cases I’ve seen this](https://forum.inductiveautomation.com/t/14945-email-still-using-tlsv1/28051) here and in support the ultimate resolution has required upgrading to 7.9.18 or 8.x which have special options on the email notification profile to force the use of TLS 1.2.

---

<div class="post-metadata">

**Author:** ![ryanjmclaughlin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryanjmclaughlin/32/4318_2.png) [@ryanjmclaughlin](https://forum.inductiveautomation.com/u/ryanjmclaughlin)\
**Post date:** [December 20, 2021, 9:23pm UTC](https://forum.inductiveautomation.com/t/ignition-7-6-and-smtp-office365-com/54332/3 "2021-12-20T21:23:08Z")

</div>

Can confirm. 7.9.18 works with Office365, earlier does not due to lack of TLS1.2 support.

---

<div class="post-metadata">

**Author:** ![jmonter](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jmonter](https://forum.inductiveautomation.com/u/jmonter)\
**Post date:** [December 31, 2021, 12:29am UTC](https://forum.inductiveautomation.com/t/ignition-7-6-and-smtp-office365-com/54332/4 "2021-12-31T00:29:17Z")

</div>

Well my solution for right now until the customer upgrades was to setup the Windows Server that is hosting Ignition to be an SMTP relay server.  
Ignition Email Notification → Local SMTP Server → Office365 SMTP

---

<div class="post-metadata">

**Author:** ![tashby](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tashby/32/67562_2.png) [@tashby](https://forum.inductiveautomation.com/u/tashby)\
**Post date:** [January 14, 2022, 8:55pm UTC](https://forum.inductiveautomation.com/t/ignition-7-6-and-smtp-office365-com/54332/5 "2022-01-14T20:55:11Z")

</div>

I’m in a situation where I need to do just that, but have no experience setting up a Local SMTP Server. I’ve installed hmail on the local machine with Ignition install. Do you know what settings I need to put in Ignition and hmail to make it a relay server for [smtp.office365.com](http://smtp.office365.com)? I’ve tried several settings with no luck.

---

<div class="post-metadata">

**Author:** ![jmonter](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jmonter](https://forum.inductiveautomation.com/u/jmonter)\
**Post date:** [February 7, 2022, 6:14pm UTC](https://forum.inductiveautomation.com/t/ignition-7-6-and-smtp-office365-com/54332/6 "2022-02-07T18:14:55Z")

</div>

> [@tashby](#):
>
> hmail

I'm not familiar with hmail, what type of OS do you have Ignition installed in?

---

<div class="post-metadata">

**Author:** ![tashby](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tashby/32/67562_2.png) [@tashby](https://forum.inductiveautomation.com/u/tashby)\
**Post date:** [February 9, 2022, 4:37pm UTC](https://forum.inductiveautomation.com/t/ignition-7-6-and-smtp-office365-com/54332/7 "2022-02-09T16:37:11Z")

</div>

Windows 10. I think I ultimately got it working on a non-production system, but then updating Ignition version helped with my original issue.
