Configuring the Email Service
(Original Document)
Using the Email Service
Use the Simple Mail Transfer Protocol (SMTP) service to configure up to three (3) Email messages. The PLC uses the Email messages you configure to notify specified Email recipients about meaningful run-time events—for example, a change in the value of a variable, or a threshold overrun.
NOTE: The Email service is available only when you first perform the following tasks:
  • upgrade the firmware in the TSX ETC 101 Ethernet communication module to version 2.01 or higher
  • select the TSX ETC 101.2 Ethernet communication module for your project using Unity Pro version 7.0 or higher
NOTE: Unity Pro is the former name of Control Expert for version 13.1 or earlier.
Email messages are transmitted by the execution of a SEND_REQ function block included in your application logic.
NOTE: To successfully send an Email message using the SEND_REQ block, synchronize the SMTP service and PLC application—i.e., activate the SMTP service whenever the PLC is in RUN mode.
You can configure the Email service only in the Email Configuration page of Control Expert. You can diagnose the operation of the Email service in the diagnostic pages of both the Control Expertsoftware and the communication module web pages.
Configuring Email Service Parameters
Use the following page to configure up to three Email messages:
To display this page:
Step
Description
1
Select the Services node in the navigation tree located on the left side of the Device Editor. The Services page opens.
2
In the Services page, set the Email field to Enabled. The Email node appears in the navigation tree.
3
Select the Email node in the navigation tree.
Viewing and Configuring Email Settings
The configurable Email service parameters include the following:
Parameter
Description
SMTP Server Configuration:
SMTP Server IP Address:
The IP address of the SMTP server that will relay Email messages.
SMTP Server Port:
TCP port used by the SMTP server. Default = 25.
Password Authentication:
Authentication:
Is client authentication by the SMTP Email server:
  • Disabled (default)
  • Enabled
Login:
If the SMTP server is configured for client authentication, the user name, up to 64 characters.
Password:
If the SMTP server is configured for client authentication, the client password string, up to 64 characters.
Email Header 1...3:
From:
The Email address of the sender, up to 64 characters.
To:
The Email addresses of the targeted recipients, up to 128 characters.
Subject:
The static part of the Email message, up to 32 characters.