Multi-Tech Systems iCell GPRS (MTSMC-G2-IP Manual Do Utilizador
Part 1 – AT Commands for All Universal IP Devices
Chapter 2 – SMTP AT Commands
Universal IP AT Commands Reference Guide (Document S000457K)
21
#BODYi – Set Pre-Defined Email Combinations
Description:
These parameters store pre-defined message bodies. They allow the host application to send
pre-defined email combinations.
pre-defined email combinations.
Syntax:
AT#BODY<value> Interactive mode enter the body followed by CTRL-Z
AT#BODY<value>="<string>" Set the Body<value> string to "<string>"
AT#BODY<value>? Read or display the current setting of BODY<value>
Values:
1 – 3 Predefined email message body
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.
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>
#SMTPNETWORKTIMER – SMTP Client Network Transmit Safety Timeout Value
Description:
This parameter determines the inactivity time in seconds of the TCP TX buffer.
Note:
This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)
Syntax:
AT#SMTPNETWORKTIMER=<parameter1>
Values:
0-65535 – the time in seconds the client will wait for the TCP available TX buffer to be greater
than 0. A setting of 0 will disable the function.
than 0. A setting of 0 will disable the function.
Responses:
\r\n#SMTPNETWORKTIMER: VALUE1\r\n
\r\nOK\r\n
\r\nERROR\r\n
\r\nOK\r\n
\r\nERROR\r\n
Examples:
send: AT#SMTPNETWORKTIMER=100\r
reply: \r\nOK\r\n
send: AT#SMTPNETWORKTIMER?\r
reply: \r\n#SMTPNETWORKTIMER: 100\r\n
reply: \r\nOK\r\n
#SMTPPORT – Set SMTP Server Port
Description:
To reach the SMTP server, the TCP/IP stack software must know the port of the SMTP server
used for sending email.
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.
network infrastructure configuration including firewalls, proxy or specific TCP port translation
settings.
Syntax:
AT#SMTPPORT=<value>
AT#SMTPPORT? Read or display the current setting (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.
illegal as the port identification fields are 16 bits long in the TCP header.
Default:
25