User's Manual

Table Of Contents
Nonvolatile Parameter Database
AT+i Programmer‘s Manual Version 8.32 34-46
34.5.3 +iSMTP Define SMTP Server Name
Syntax: AT+iSMTP[p]=server Permanently sets the SMTP Server Name or
IP.
Parameters: server = An SMTP server name or IP address.
Server names must be resolvable by the primary or
alternate DNS.
p = optional communication platform modifier for
iChip Plus. Where, p=‘S‘ to force the (serial) dial-up
platform and p=‘L‘ to force the LAN platform. p
may be used to select any platform. If p is omitted,
the active platform will be used.
Command Options:
server = '' Empty: No server name defined.
server = <SMTP_SRVR> SMTP_SRVR will be used to locate and
establish an SMTP connection when
sending Email messages. If SMTP_SRVR
is a symbolic name, a DNS server will be
used to resolve the IP address.
Define +
iSMA, +iSMU and +iSMP if the SMTP
server requires authentication.
Default: Empty. No SMTP server defined. To send Email
messages, the SMTP server name must be defined Ad-
Hoc.
In a LAN environment, an empty SMTP server will
acquire a value from the DHCP server (if DIP is 0.0.0.0).
Result code:
I/OK If server is an empty or legal IP address or SMTP
server name.
I/ERROR Otherwise.
AT+iSMTP[p]~ server Temporarily set the SMTP server name to server.
The permanent server name will be restored after
completing the next session, whether the session
was successful or not.
AT+iSMTP[p]? Report the current SMTP server name. If a server
name does not exist, only <CRLF> will be
returned. The reply is followed by I/OK.
AT+iSMTP[p]=? Returns the message ‗String/IP‘.
The reply is followed by I/OK.