EasyManuals Logo
Home>Quectel>Control Unit>EC2 Series

Quectel EC2 Series Command Manual

Quectel EC2 Series
32 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
Page #21 background imageLoading...
Page #21 background image
LTE Module Series
EC2x&EG9x&EM05 SMTP AT Commands Manual
EC2x&EG9x&EM05_SMTP_AT_Commands_Manual 20 / 31
//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. Please refer to Quectel_
EC2x&EG9x&EM05_FILE_AT_Commands_
Manual for more details.
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.

Other manuals for Quectel EC2 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Quectel EC2 Series and is the answer not in the manual?

Quectel EC2 Series Specifications

General IconGeneral
BrandQuectel
ModelEC2 Series
CategoryControl Unit
LanguageEnglish

Related product manuals