The SMTP Client sends email messages from the embedded system to a
designated email address, which can be either local or remote. It can
send log reports using dynamic email messages or trouble reports for
a variety of predetermined conditions.
The following SMTP Client options are configurable from the
Net_Config.c configuration
file:
SMTP Client switch enables or disables the SMTP Client
service in your application. It is enabled when this value is set
to 1. It should be set to 0 when the SMTP Client is not used in
your application.
#define SMTP_ENABLE 1
Response Timeout in seconds is an inactivity timeout. When
the SMTP Client does not receive a response from SMTP Server
within this timeout, it aborts the operation.
#define SMTP_DEFTOUT 20
Note
When the SMTP client is not enabled, the ARM linker does
not link the SMTP support modules to your application and
thus reduces the code size and memory usage.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.