User manual
Transferring Data Using Communication Blocks
33002479 06 07/2008 183
Send Email
Description The electronic mail notification service allows controller-based projects to report 
alarms or events. The controller monitors the system and dynamically creates an 
electronic mail message, which alerts local or remote users.
A user-defined event or condition triggers the MSTR block to create a message. 
Each message uses one of three user-defined headers. Each message sent from 
the controller can contain text and variable information (with a maximum of 238 
bytes).
The project selects the appropriate header. Each header contains:
z sender name
z list of recipients
z subject
To program an MBP_MSTR block to send email, use function code 13 (see Valid 
MBP_MSTR Function Codes, p. 151).
Network 
Implementation
A send email operation can be performed on a TCP/IP Ethernet network.
Control Block 
Usage for TCP/IP 
Ethernet
Register Meaning
CONTROL[1] 13 = send Email
CONTROL[2] Indicates the email-specific error codes (see Mail Service Error Codes, 
p. 262)
CONTROL[3] Number of words transferred
CONTROL[4] Not used
CONTROL[5] High byte: slot address of the NOE module or 0xFE for the 140 CPU 651 60
Low byte: always 0
CONTROL[6]
 ...
CONTROL[9]
Not used










