# Need help with sending test email

**URL:** <https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299>\
**Category:** Ignition\
**Created:** [March 3, 2026, 7:17pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299 "2026-03-03T19:17:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![edwin.mericle](https://avatars.discourse-cdn.com/v4/letter/e/e8c25b/32.png) [@edwin.mericle](https://forum.inductiveautomation.com/u/edwin.mericle)\
**Post date:** [March 3, 2026, 7:17pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299/1 "2026-03-03T19:17:00Z")

</div>

Hi, I am new to Ignition and SCADA in general, so please bare with me. We are in desperate need to figure out a way to send out alarm notification via email or text. Ignition looks to be a great way to do that, so I’ve been playing with the trial to see if I could make that happen. However, I cannot even get it to send out a test email. It keeps saying that it cannot connect to the host. Here are my settings:

 ![image (20)](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/4/5441afb2b8dc27d2d4fed9e1cc80e3ee2c21ca8d.jpeg)

I have tried both toggling the SSL/TLS and the STARTTLS, as well as changing the port to 465. Additionally, I tried using Brevo’s SMTP and Outlook, but none of that makes a difference.

Any help is very much appreciated.

---

<div class="post-metadata">

**Author:** ![Greyship](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@Greyship](https://forum.inductiveautomation.com/u/Greyship)\
**Post date:** [March 3, 2026, 7:21pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299/2 "2026-03-03T19:21:35Z")

</div>

Did you create the app password and enable 2-step authentication in your Gmail account?

[Send email from a printer, scanner, or app - Google Workspace Admin Help](https://support.google.com/a/answer/176600?hl=en)

---

<div class="post-metadata">

**Author:** ![edwin.mericle](https://avatars.discourse-cdn.com/v4/letter/e/e8c25b/32.png) [@edwin.mericle](https://forum.inductiveautomation.com/u/edwin.mericle)\
**Post date:** [March 3, 2026, 7:21pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299/3 "2026-03-03T19:21:52Z")

</div>

I did

---

<div class="post-metadata">

**Author:** ![Greyship](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@Greyship](https://forum.inductiveautomation.com/u/Greyship)\
**Post date:** [March 3, 2026, 7:24pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299/4 "2026-03-03T19:24:03Z")

</div>

It may not be supported as Google requires OAuth now:

> Starting May 1, 2025, Google Workspace accounts no longer support [less secure apps](https://support.google.com/accounts/answer/6010255), third-party apps, or devices that ask you to sign in to your Google Account with your username and password. You must use OAuth to let these apps and devices access your account. Third-party email apps that are no longer supported include Microsoft Outlook and the mail app on iOS and macOS. For detailed instructions and information, visit [Transition from less secure apps to OAuth](https://support.google.com/a/answer/14114704). For the latest dates, visit [Google Workspace Updates](https://workspaceupdates.googleblog.com/2023/09/winding-down-google-sync-and-less-secure-apps-support.html).

---

<div class="post-metadata">

**Author:** ![edwin.mericle](https://avatars.discourse-cdn.com/v4/letter/e/e8c25b/32.png) [@edwin.mericle](https://forum.inductiveautomation.com/u/edwin.mericle)\
**Post date:** [March 3, 2026, 7:29pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299/5 "2026-03-03T19:29:37Z")

</div>

Awesome. Thanks. Do you have a suggestion of a free solution that I can use for testing this out?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 3, 2026, 7:31pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299/6 "2026-03-03T19:31:53Z")

</div>

You should be able to configure an OAuth connection with Google to use for emails:

> **[Verify Authorization and Token Example (Google Identity OAuth2)​ - OAuth 2.0...](https://www.docs.inductiveautomation.com/docs/8.3/platform/security/oauth-2-clients#verify-authorization-and-token-example-google-identity-oauth2)**
>
> OAuth 2.0 is an authorization standard that is developed by IETF OAuth Working Group. Unlike basic authorization which requires a user to input a fixed password to log in, OAuth 2.0 requires users to input an access token instead. This makes using...

> **[OAuth2 SMTP​ - Email Settings | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.3/platform/gateway/web-interface/network/email-settings#oauth2-smtp)**
>
> In Ignition, there are several places that you might want to send an email from. Instead of setting up a new email server connection at each one, you can add Email Profiles on the Gateway and reference them in other places. For example, you can use a...

---

<div class="post-metadata">

**Author:** ![edwin.mericle](https://avatars.discourse-cdn.com/v4/letter/e/e8c25b/32.png) [@edwin.mericle](https://forum.inductiveautomation.com/u/edwin.mericle)\
**Post date:** [March 3, 2026, 7:32pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299/7 "2026-03-03T19:32:34Z")

</div>

Thanks. I’ll give it a try.

---

<div class="post-metadata">

**Author:** ![Greyship](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@Greyship](https://forum.inductiveautomation.com/u/Greyship)\
**Post date:** [March 3, 2026, 7:47pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299/8 "2026-03-03T19:47:33Z")

</div>

If you just need to test SMTP functionality, a local tool like [axllent/mailpit - Docker Image](https://hub.docker.com/r/axllent/mailpit) is useful.

---

<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:** [March 3, 2026, 7:48pm UTC](https://forum.inductiveautomation.com/t/need-help-with-sending-test-email/114299/9 "2026-03-03T19:48:07Z")

</div>

If your Ignition gateway on a business network there's a good chance you should be using their mail server rather than Google's. If so, get their IT department to set up a service account with a never expiring password.

I recommend that you set the from address to something like `scriptname.projectname@servername.companyname.com` and construct this programmatically so that it auto-updates if the project is copied or moved to another server. It will be a big help in debugging quickly if the script goes rogue and your company's email gets blacklisted!

> [@edwin.mericle](#):
>
> I am new to Ignition and SCADA in general, so please **bare with me**.

Tip: that's an invitation to undress together. (Declined.) You mean "bear with me" as in "to bear one another's burdens".
