![Anybus CompactCom 40 EtherNet/IP Network Manual Download Page 32](http://html1.mh-extra.com/html/anybus/compactcom-40-ethernet-ip/compactcom-40-ethernet-ip_network-manual_2948758032.webp)
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
Chapter 5
5. E-mail Client
5.1 General Information
Category
: extended
The built-in e-mail client allows the application to send e-mail messages through an SMTP-server. Mes-
sages can either be specified directly in the SMTP Client Object, or retrieved from the file system. The
latter may contain SSI, however note that for technical reasons, certain commands cannot be used (spec-
ified separately for each SSI command).
The client supports authentication using the ‘LOGIN’ method. Account settings etc. are stored in the
Network Configuration Object.
See also...
• “Network Configuration Object (04h)” on page 99
• “SMTP Client Object (09h)” on page 126
5.2 How to Send E-mail Messages
To be able to send e-mail messages, the SMTP-account settings must be specified.
This includes...
• A valid SMTP-server address
• A valid user name
• A valid password
To send an e-mail message, perform the following steps:
1.
Create a new e-mail instance using the ‘Create’-command (03h)
2.
Specify the sender, recipient, topic and message body in the e-mail instance
3.
Issue the ‘Send Instance Email’-command (10h) towards the e-mail instance
4.
Optionally, delete the e-mail instance using the ‘Delete’-command (04h)
Note
: See “SMTP Client Object (09h)” on page 126 for more information.
Sending a message based on a file in the file system is achieved using the ‘Send Email from File’-com-
mand. For a description of the file format, see “Command Details: Send Email From File” on page 129.