EasyManua.ls Logo

Quectel AG35 SMTP

Quectel AG35 SMTP
31 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LTE Module Series
AG35 SMTP AT Commands Manual
AG35_SMTP_AT_Commands_Manual Confidential / Released 20 / 30
//Step 3: Edit the email content.
AT+QSMTPDST=1,1,quectel_test@163.com //Add the recipient and the recipient type is 1 which
means all recipients.
OK
AT+QSMTPDST=1,2,quectel_test@21cn.com //Add the recipient and the recipient type is 2
which means CC recipients.
OK
AT+QSMTPDST?
+QSMTPDST: 1,“quectel_test@163.com
+QSMTPDST: 2,“quectel_test@21cn.com
OK
AT+QSMTPSUB=0,TEST SMTP //Edit subject and the character set is 0 which
means ASCII.
OK
AT+QSMTPSUB? //Query the subject of email.
+QSMTPSUB: 0,“TEST SMTP”
OK
AT+QSMTPBODY=0,100,120 //Edit email body. The character set is 0 which
means ASCII. The maximum input length is 100
bytes and the maximum input time is 120s.
CONNECT
<Input 100 bytes data>
+QSMTPBODY: 100
OK
AT+QFUPL=RAM:smtp1.txt,100,200,1 //Upload a file to RAM. The file will be saved as
smtp1.txt and the maximum size of file is 100
bytes. 200 indicates timeout, and 1 indicates ACK
mode. For more details, please refer to
Quectel_AG35_FILE_Application_Note.
CONNECT
<Input 100 bytes data>
+QFUPL: 100,707
OK
AT+QFLST=“RAM:*”
+QFLST: “RAM:smtp1.txt”,100
OK
AT+QSMTPATT=1,1,RAM:smtp1.txt //Add an attachment for email and the file index is
1.
OK
Quectel
Confidential

Related product manuals