Technical information
Chapter 2: AT+i Commands Reference
May 31, 2008 AT+i Commands Reference Manual 2-135
+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 W24 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 address.
I/ERROR Otherwise.
AT+i SM TP [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 +i S MT P [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+i SM TP [p]=? Returns the message "String/IP" followed by I/OK.










