Sending process messages by email
8.5 Testing the email function
Configuring and commissioning S7 CPs for Industrial Ethernet
Configuration Manual, 09/2013, C79000-G8976-C182-13
143
Testing the email function
Purpose and options
With email functionality, you make your automation system capable of sending specific upto-
date information from the process at any time.
To allow you to check that email is functioning correctly at any time, you can initiate a test
mail. The following mechanisms are available:
● Test mail via Web browser
● Test mail using STEP 7 special diagnostics
Both tests are triggered on the CP which means that the tests do not indicate whether or not
there is an e-mail connection between the CPU and CP. If this was configured incorrectly, it
is not possible to send e-mails from the user program.
Conclusions drawn from receiving a test mail
If the test mail is received, you can draw the following conclusions:
● The Advanced CP is operational for sending e-mails;
● An e-mail connection exists that can be used by the user program;
● The recipient specified in the request is obtainable.
You cannot infer the following:
● That the user programs are in a status in which the sending of e-mails will be triggered by
calling FC AG_SEND/AG_LSEND;
● The time required from a mail being sent until it is received.
Note:
E-mail is an unreliable service. It is therefore possible that an e-mail does not arrive. The
receipt of a test e-mail is only a temporary indication that the connection is working and is no
guarantee that it will work at other times.
Triggering a test mail with the Web browser
Web diagnostics provides the option of sending a test mail from your CP.
For more detailed information, see section SEND/RECEIVE communication / configured
connections (Page 181)