Technical information

E-Mail Retrieve
2-14 AT+i Commands Reference Manual May 31, 2008
+iRMM - Retrieve Mail Message
i Optional e-mail message index of a qualifying message. If no parameter is
used, all e-mail headers are retrieved.
Command Options:
i Optional index of a qualifying message, as reported by AT+iRML.
! Stay online after completing the command.
Default: Retrieves headers of all pending qualified mail messages.
Result Code:
I/OK When command is received and about to be processed.
I/ERROR Otherwise.
Returns:
I/MBE If the mailbox is empty.
Otherwise: All header lines of all qualifying e-mail messages. Header lines are returned
as-is. A line containing solely a (.) (period) in column 1 acts as a separator
between the header lines of each e-mail. The HDL parameter limits the
number of header lines per mail (HDL=0 specifies an unlimited number of
lines per e-mail). Header field syntax is described in RFC822 and RFC2045.
Followed by:
I/DONE After successfully sending the e-mail headers. Allow a 2.5 seconds delay for
W24 re-initialization following an Internet mode session.
-or-
I/ONLINE After successfully retrieving the e-mail headers, if the stay online flag (!) is
specified.
I/ERROR Otherwise.
Syntax: AT+i[!]RMM[:i]
Retrieves contents of e-mail message i from current mailbox.
Parameters:
i Optional e-mail message index of a qualifying message. If no parameter is
used, all e-mails are retrieved.
Command Options:
i Optional index of a qualifying message, as reported by AT+iRML.
! Stay online after completing the command.
Default: Retrieves all pending qualified mail messages.
Result Code:
I/OK When command is received and about to be processed.