6.52
AT+S.SMTP
The stack implements the protocol SMTP to send an email.
Usage:
AT+S.SMTP=<hostname>,[<port>],[<TLS>],[<username>],[<passwd>],
[<ID>],<address>,<to>,<NULL>,<NULL>,<subject>,<NULL>,<len><cr>{data}
Parameters:
<hostname>
DNS resolvable Name or IP address of the remote host
<port>
Default is 25 (if TLS=0) or 465 (if TLS>0). Server port
<TLS>
Default:unsecured TLS Security option. 0 → unsecured, 5 →
SMTPS on port 465 if available, otherwise SMTP +
STARTTLS if available, otherwise no security, 8 → SMTP +
STARTTLS if available, otherwise the mail is not sent, 9 →
SMTPS on port 465 if available, otherwise SMTP +
STARTTLS if available, otherwise the mail is not sent.
<username>
User of the SMTP server
<passwd>
Password of the SMTP server
<ID>
Default: nv_model used during Helo
<address>
Email address on the SMTP server
<to>
Email recipients. Multiple emails are separated by a
semicolon
A recipient can be just an email address, or be in the
extended format consisting of a name followed by a '<',
followed by the email address and terminated by a '>' (e.g.
"Nick <[email protected]>")
<subject>
Email Subject. String message
<len>
Length of the Body message
6.53
AT+S.HTTPGET
To perform a single http get request to the named host and path.
Usage:
AT+S.HTTPGET=<hostname>,[<path&queryopts]>,[<port>],[<TLS>],[<username>],
[<passwd>],[<in_filename>],[<out_filename>]<cr>
Parameters:
<hostname>
DNS resolvable Name or IP address
<path&queryopts>
Default:/index.html. document path & optional query
arguments
<port>
Default 80 (if TLS=0) or 443 (if TLS>0)
UM2114
AT+S.SMTP
UM2114
-
Rev 3
page 33/66