Free Software Download Center
Software for industrial data collection, monitoring, and analysis.
ANS can deliver alarm events generated within EOS SCADA by email via SMTP to designated
recipients. Gmail is one of the SMTP services that can be used for this purpose.
Basic flow of ANS integration with Gmail:
GMAIL ACCOUNT → 2-STEP VERIFICATION → APP PASSWORD → ANS SMTP → SCADA ALARMI → EMAIL
The main purpose here is to allow ANS to authenticate to Gmail via SMTP using an application-specific password generated by Gmail, without requiring ANS to know the normal Gmail account password. Google defines an App Password as a 16-character access code that can be used on accounts with 2-Step Verification enabled.
Before sending email with ANS through Gmail, the following conditions must be met:
Corporate account note: Google Workspace or kurum tarafından yönetilen hesaplarda App Password seçeneği kuruluş politikaları nedeniyle In such cases, the Google Workspace administrator should review the relevant security and SMTP policies.
To create an App Password, 2 Adımlı Doğrulama must be enabled on the Google account. According to Google's official help page, an App Password can only be created on accounts where 2-Step Verification is enabled.
2-Step Verification increases account security; an App Password is a separate access method that may be required for applications that do not support Google sign-in.
If ANS connects to Gmail via SMTP using password-based SMTP authentication, the normal Gmail account password should be replaced with an App Password App Password.
EOS ANS SMTP.
Example:
abcd efgh ijkl mnop
This is only a format example. A real account password or real App Password must not be shared in documentation.
According to Google, an App Password is a 16-character code and cannot be viewed again after it is created. If it is lost, a new App Password can be created. If the normal Google account password is changed, existing App Passwords may be revoked for security reasons, requiring a new App Password for ANS.
The following values can be used for Gmail integration in ANS. 587 + TLS/STARTTLS or 465 + SSL Gmail's are supported secure SMTP connection options. ANS'deki SSL Kullan field behavior depends on the SMTP library in use; therefore, it should be verified that the application field supports STARTTLS with port 587.
| Parameter | Value | Description |
|---|---|---|
| SMTP Server | smtp.gmail.com |
Gmail SMTP server. |
| SMTP Port | 587 | SMTP port used for STARTTLS/TLS connections. |
| Use SSL / TLS | Selected | The connection must be encrypted. When using 587, the application's STARTTLS/TLS behavior should be verified. |
| Username | Gmail address | Full Gmail address used for SMTP authentication. |
| Password | App Password | The generated application password instead of the normal Gmail account password. |
| Timeout | 20 | Recommended initial timeout value for the ANS SMTP connection. |
Alternative secure connection: If the ANS SMTP configuration treats SSL/TLS as a direct SSL connection, smtp.gmail.com : 465 + SSL combination can be used. Google's official help documentation specifies port 587 for TLS/STARTTLS and 465 for SSL connections.
After completing the SMTP settings, create a test alarm through ANS to verify the Gmail connection and notification mechanism.
smtp.gmail.com .| Symptom | What to Check |
|---|---|
| App Password option is not visible | Check 2-Step Verification, the account type, and organization/Google Workspace policies. The option may be unavailable in some cases, such as Advanced Protection. |
| Authentication failed | Check the Gmail address and App Password; do not use the normal account password. |
| ANS does not work after a password change | App Passwords may be revoked when the Google account password is changed; create a new App Password. |
| Cannot connect to the SMTP server | Check internet access, the firewall, SMTP port, and TLS/SSL settings. |
| Too many alarm emails are being generated | Review ANS alarm selection, notification groups, and sending frequency. |
Important: An alarm notification system is not limited to the SMTP connection. Which alarms are sent to which users or groups, the notification frequency, and the priority of critical alarms must also be determined according to operational requirements.
GMAIL ACCOUNT
↓
2-STEP VERIFICATION
↓
APP PASSWORD
↓
smtp.gmail.com : 587 + STARTTLS/TLS
↓
GMAIL ADDRESS + APP PASSWORD
↓
ANS SMTP SETTINGS
↓
SCADA ALARM → EMAIL NOTIFICATION
With this configuration, EOS SCADA ANS can use Gmail as an SMTP-based email notification
channel. Under Gmail's current security approach, the old password-based "less secure apps"
methods are replaced by a preference for OAuth 2.0; for an SMTP client such as ANS that does
not support OAuth/Google sign-in, a App Password can be used provided that 2-Step
Verification is enabled on the Google account.