User guide

Part 1 – AT Commands for All Universal IP Devices Chapter 2 – SMTP Commands
Universal IP AT Commands Reference Guide (Document S000457H) 27
#BODYi – Set Pre-Defined Email Combinations
Definition: These parameters store pre-defined message bodies. They allow the host application to send
pre-defined email combinations.
Syntax: Set Value: AT#BODYi="<value>" (replace i with 1, 2, or 3)
View Value: AT#BODYi? (replace i with 1, 2, or 3) or AT#VMAILi, AT#VALL
Values: The body content has to be entered after the AT#BODY1<CR> command. It has to be an
alphanumeric ASCII text string up to 120 characters followed this character: 1A (in ASCII code)
and generated on a keyboard by CTRL+Z. No default.
Example: AT#BODY1<CR>
Text string
<CTRL+Z>
#SMTPPORT – Set SMTP Server Port
Definition: To reach the SMTP server, the TCP/IP stack software must know the port of the SMTP server
used for sending email.
Note: This parameter should be changed only by your network administrator since it depends on
network infrastructure configuration including firewalls, proxy or specific TCP port translation
settings.
Syntax: Set Value: AT#SMTPPORT=<value>
View Value: AT#SMTPPORT? or AT#VSMTP, AT#VALL
Values: From 1 to 5 digits (each digit between 0 and 9 inclusive). Note that numbers above 65,535 are
illegal as the port identification fields are 16 bits long in the TCP header.
Default: 25
#SMTPPW – Set SMTP Password
Definition: To send email messages, some SMTP servers are using an authentication process. In these
cases, the TCP/IP stack software will provide the SMTP password (associated to the SMTP user
name) for the email sending process.
If this parameter is an empty string, the authentication mode is inactive.
If both this parameter and the SMTPUN parameter are not empty, the authentication mode is
active.
Syntax: Set Value: AT#SMTPPW="<value>"
View Value: AT#SMTPPW? or AT#VSMTP, AT#VALL
Values: Alphanumeric ASCII text string up to 64 characters. No default.
#SMTPSERV – Set SMTP Server Address
Definition: To send email messages the TCP/IP stack software must know the address of the SMTP server
that is to be used. In most cases, the local ISP maintains the SMTP server.
Syntax: Set Value: AT#SMTPSERV="<value>"
View Value: AT#SMTPSERV? or AT#VSMTP, AT#VALL
Values: 32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx) or
Alphanumeric ASCII text string up to 120 characters if DNS is available. No default.