At+Qsmtpput Send An Email - Quectel AG35 SMTP At Command Manual

Lte module
Table of Contents

Advertisement

Execution Command
AT+QSMTPCLR
Parameter
<err>
Integer type. The error code of the operation. Please refer to Chapter 5.
Example
AT+QSMTPCLR
OK
AT+QSMTPDST?
OK
AT+QSMTPSUB?
+QSMTPSUB: 0,""
OK
AT+QSMTPATT?
OK

2.7. AT+QSMTPPUT Send an Email

It may take some time for an email to be completely sent, which depends on the total size of attachments
and network status. Customers should not send email again before receiving "+QSMTPPUT:
<err>,<protocol_error>" which indicates the ending of sending an email. If <err> is not 0, the email can be
resent by executing AT+QSMTPPUT=<timeout> directly.
AT+QSMTPPUT Send an Email
Test Command
AT+QSMTPPUT=?
Write Command
AT+QSMTPPUT=<timeout>
AG35_SMTP_AT_Commands_Manual
AG35 SMTP AT Commands Manual
Response
OK
Or
+CME ERROR: <err>
//Clear the recipients, subject, body and attachments for
the email.
//Query the recipients of the email.
//Query the subject of the email.
//Query the attachments of the email.
Response
+QSMTPPUT: (60-65535)
OK
Response
If the format is correct and it is not sending an email:
OK
+QSMTPPUT: <err>,<protocol_error>
Confidential / Released
LTE Module Series
17 / 30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents