Technical information
E-mail Send Commands
2-10 AT+i Commands Reference Manual May 31, 2008
E-mail Send Commands
+iEMA - Accept ASCII-Coded Lines for E-Mail Send
Syntax: AT+i[!]EMA:<text lines>
Defines a plain text e-mail body.
Parameters:
<text lines> Plain text e-mail body. The e-mail body contains <CR/LF> terminated
ASCII character strings. <text lines> must be terminated by a dot character
(.) in the 1
st
column of an otherwise empty line.
Command Options: <text lines>::={<ASCII text line><CRLF> …}<CRLF>.<CRLF>
Maximum size of <text lines> is limited to 18K, provided that no additional
system resources are in use.
EMA uses the specified SMTP server to send the e-mail message. When
W24 acquires TOD from a network timeserver, outgoing e-mail messages
are time and date stamped.
! Stay online after completing the command.
Result Code:
I/OK After all text lines are received and terminated by the (.) line.
I/ERROR If memory overflow occurred before all text lines are received.
Followed by:
I/DONE After successfully sending the e-mail. Allow a 2.5 seconds delay for W24
re-initialization following an Internet mode session.
-or-
I/ONLINE After successfully sending the e-mail, if the stay online flag (!) is specified.
-or-
I/ERROR If some error occurred during the send session.










