Sending process messages by email
8.1 Overview of the functions
Configuring and commissioning S7 CPs for Industrial Ethernet
Configuration Manual, 09/2013, C79000-G8976-C182-13
137
●
The CP uses authentication, the mail server does not
If you use a CP that supports authentication and you want to work without authentication,
do not store a user name or password in the e-mail data block (see section Sending an e-
mail (Page 141)). In this situation, the CP transfers data using SMTP.
●
The mail server uses authentication, the CP does not
The mail server aborts the attempt to send.
Follow the basic steps below to send e-mails:
Clarify mail server mode:
• Is there already a mail server in your network environment?
• Who can set up access for the CP?
• Configure the email connection
By configuring an e
mail connection you allow establishment of a connection between the S7 CPU
and the Advanced CP for sending emails.
See section Setting up an e-mail connection (Page 139).
• Check availability: Start/send a test mail
You can check the availability of the email
function at any time by initiating a test mail on
the Advanced CP.
See section Testing the email function
(Page 143)
• Send emails from the user program
The information to be sent by email including
the address information is stored in a data
block (DB). The information is sent via the
user program using an FC
AG_SEND/AG_LSEND.
See section Sending an e-mail (Page 141)
(Use FC AG_SEND /AG_LSEND)
Receive e-mail on receiving device.