Need help with sending test email

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:

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.

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

I did

It may not be supported as Google requires OAuth now:

Starting May 1, 2025, Google Workspace accounts no longer support less secure apps, 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. For the latest dates, visit Google Workspace Updates.

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

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

1 Like

Thanks. I’ll give it a try.

If you just need to test SMTP functionality, a local tool like axllent/mailpit - Docker Image is useful.

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!

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

1 Like