# SMPT Email Configuration for Government High Microsoft 365

**URL:** <https://forum.inductiveautomation.com/t/smpt-email-configuration-for-government-high-microsoft-365/89297>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 23, 2024, 3:50pm UTC](https://forum.inductiveautomation.com/t/smpt-email-configuration-for-government-high-microsoft-365/89297 "2024-04-23T15:50:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![soundwavesct](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@soundwavesct](https://forum.inductiveautomation.com/u/soundwavesct)\
**Post date:** [April 23, 2024, 3:50pm UTC](https://forum.inductiveautomation.com/t/smpt-email-configuration-for-government-high-microsoft-365/89297/1 "2024-04-23T15:50:30Z")

</div>

I need to migrate my current email procedures to a new profile as our company has shifted from an on-premise Exchange server to the Government High Cloud.

This seems pretty standard and I am having no problems with other applications. Through Ignition I get a time out error every time I try to send SSL email.

I have tried port 465/587 and both SSL/TLS and STARTTLS

Config:

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

Result:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/1/61619bc602221f7be80063b2a6de534446b3f2aa.png)

Are there any prerequisites that I could be missing or something obvious I am overlooking?

---

<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:** [April 23, 2024, 3:52pm UTC](https://forum.inductiveautomation.com/t/smpt-email-configuration-for-government-high-microsoft-365/89297/2 "2024-04-23T15:52:31Z")

</div>

This is a straight up networking problem. Check that there isn't a firewall blocking your outbound traffic or something like that.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 23, 2024, 3:57pm UTC](https://forum.inductiveautomation.com/t/smpt-email-configuration-for-government-high-microsoft-365/89297/3 "2024-04-23T15:57:29Z")

</div>

I suggest that you name your profile something more meaningful such as "DefaultSMTP".

On any Ignition-generated emails set the _from_ address to something that will help find the culprit if there is a problem. e.g. `scriptname.projectname@servername.companyname.com`.  
Use system and project variables to make up the _from_ address so that it's automatically generated if you copy or move the script.

---

<div class="post-metadata">

**Author:** ![soundwavesct](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@soundwavesct](https://forum.inductiveautomation.com/u/soundwavesct)\
**Post date:** [April 23, 2024, 4:28pm UTC](https://forum.inductiveautomation.com/t/smpt-email-configuration-for-government-high-microsoft-365/89297/4 "2024-04-23T16:28:36Z")

</div>

I can have IT look at that but seems unlikely since I have several Intranet applications running with the same credentials and working fine. They are hosted on different servers though.

Well, after 2 days of Ignition timing out after I talked to IT it suddenly works and has so for about 16 hours now. While they said nothing was changed I doubt this is the case.

---

<div class="post-metadata">

**Author:** ![soundwavesct](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@soundwavesct](https://forum.inductiveautomation.com/u/soundwavesct)\
**Post date:** [April 23, 2024, 4:31pm UTC](https://forum.inductiveautomation.com/t/smpt-email-configuration-for-government-high-microsoft-365/89297/5 "2024-04-23T16:31:29Z")

</div>

I use variables within my scripts to define to "From" address currently. I opted to create this profile to test with, all procedures use my current SMTP profile. Them I am done I will likely rename them both.
