User's Manual

Table Of Contents
E-Mail Retrieve
AT+i Programmer‘s Manual Version 8.32 7-3
7.3 +iRMM Retrieve Mail Message
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.
I/ERROR
Otherwise
Returns:
I/MBE
If the mailbox is empty.
Otherwise:
For each e-mail part:
(For plain-text e-mails without MIME attachments)
I/PART <text><TAB><plain><TAB><TAB>
<quoted-printable><CR/LF>
-or-
(For e-mails containing MIME attachments)
I/PART <media type><TAB><media subtype><TAB>
<filename><TAB> <encoding method><CR/LF>
-or-
(When XFH transfer e-mail headers is set to YES)
I/RCV
-or-
Followed by:
<e-mail message contents>
If the XFH parameter (transfer e-mail headers) is set to YES,
all e-mail contents are returned as-is. The e-mail‘s headers
followed by the e-mail‘s body are retrieved. MIME
encapsulated e-mail messages are retrieved without BASE64
decoding. It is assumed that when the XFH parameter is set to
YES, the host processor attends to all e-mail field parsing and
contents decoding.
If the XFH parameter is set to NO, only the