Chapter 3: AT Commands Reference
June 30, 2008 AT Commands Reference Manual 3-165
The following table shows the +MEMD parameters.
Example:
AT+MEMD=0,110 //delete single message, message_id =110
OK
AT+MEMD=1,0 // delete all messages in inbox
OK
AT+MEMD=2 // delete all messages in all folders
OK
Table 3-97:+MEMD Parameters
<Parameter> Description
<delflag> 0 - Delete a single message. The <target> specifies the message id to be deleted (see
<message_id>).
1 - Delete all messages in the folder. The <target> specifies the folder from where all
messages will be deleted (see <folder_id>).
2 - Delete all the messages in all folders. The <target> field should not be used.
<message_id> Message identifier number to delete.
<folder_id> The folder from where the user want to delete all the messages.
0 - Inbox
1 - Drafts
2 - outbox