Use the incoming and outgoing email components to setup
an email account in a Niagara station.
Your station is licensed to use the email feature. You
have a Gmail account created.
You are not on a restricted network
or VPN where Gmail use is restricted.
- For email messaging, open theemail palette and drag theEmailService to the container.
- From the email palette, drag the IncomingAccount and OutgoingAccount components to the EmailService.
You may have multiple incoming and outgoing accounts, which
allows you to set up connections to servers that support secure communication
and others that may not.
- Double-click the OutgoingAccount and configure following properties.
- Hostname enter the host name as smtp.gmail.com.
- Port enter port number as 587.
- Email Authenticator select the
email authenticator from the drop-down list.
- Account enter the gmail account
ID.
- Password Use the generated App
password as password (refer to the “Setting Up a Gmail Account for
using Outgoing Email” topic for generating an App password).
- Save the configuration.
- To send an email from Workbench, right-click .
The
Send window opens.

- Enter the email address in From and To fields, type the subject
and email body and click OK.
The email is sent to recipient and the number of emails
sent are displayed in Number Sent.
- To prepare to send alarms via email, drag the EmailRecipient from the email palette
to the EmailService node in the Nav tree.
- To prepare to acknowledge alarms via email, drag the EmailAlarmAcknowledger from the email palette to the EmailService node in the Nav
tree.