LTE Module Series
EC2x&EG9x&EM05 SMTP AT Commands Manual
EC2x&EG9x&EM05_SMTP_AT_Commands_Manual 11 / 31
Parameter
Example
//Add recipients.
AT+QSMTPDST=1,1,"[email protected]"
//Add the recipient and the recipient type is 1
which means all recipients.
OK
AT+QSMTPDST=1,2,"[email protected]"
//Add the recipient and the recipient type is 2
which means CC recipients.
OK
AT+QSMTPDST?
+QSMTPDST: 1,"[email protected]"
+QSMTPDST: 2,"[email protected]"
OK
//Delete all recipients.
AT+QSMTPDST=0
//Delete all recipients.
OK
AT+QSMTPDST?
OK
OK
Write Command
AT+QSMTPDST=<mode>[,<type>[,<e
mailaddr>]]
Response
If the format is correct and it is not sending an email:
OK
Or
+CME ERROR: <err>
<mode>
Integer type. Add or delete recipients.
0
Delete
1
Add
<type>
Integer type. The type of recipients.
1
All recipients
2
CC recipients
3 BCC recipients
<emailaddr>
String type. The email address of recipients. The maximum size of the parameter
is 50 bytes.
<err>
Integer type. The error code of the operation. Please refer to
Chapter 5
.