# Connection to google smtp email server wont work

**URL:** <https://forum.inductiveautomation.com/t/connection-to-google-smtp-email-server-wont-work/65363>\
**Category:** Ignition\
**Created:** [October 18, 2022, 8:02pm UTC](https://forum.inductiveautomation.com/t/connection-to-google-smtp-email-server-wont-work/65363 "2022-10-18T20:02:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.black](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@michael.black](https://forum.inductiveautomation.com/u/michael.black)\
**Post date:** [October 18, 2022, 8:02pm UTC](https://forum.inductiveautomation.com/t/connection-to-google-smtp-email-server-wont-work/65363/1 "2022-10-18T20:02:17Z")

</div>

I am trying to setup a simple SMTP profile. I have tried a few times before and I have never got this to work. I created a new google account and want to use that as my way of sending out emails, alarms, etc.

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

I then went to do the test email and got the following:

The from section included the new google email address I created

The to section included my work email address

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/5/b504e63b293acc89c5a0a7ffc5b2e155a75c0e5e.png)

I looked up the google smtp hostname and port and put that in here.

What am I missing? Do I have to do anything within the google account? Do I have to open up any ports?

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [October 18, 2022, 8:12pm UTC](https://forum.inductiveautomation.com/t/connection-to-google-smtp-email-server-wont-work/65363/2 "2022-10-18T20:12:56Z")

</div>

Not sure if you are using one or not, but make sure you are using an [App Specific Password](https://support.google.com/accounts/answer/185833?hl=en).

---

<div class="post-metadata">

**Author:** ![michael.black](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@michael.black](https://forum.inductiveautomation.com/u/michael.black)\
**Post date:** [October 19, 2022, 1:17pm UTC](https://forum.inductiveautomation.com/t/connection-to-google-smtp-email-server-wont-work/65363/3 "2022-10-19T13:17:22Z")

</div>

That did it! Once you create the App Specific Password and use that in the SMTP profile everything worked...thanks!
