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 #14 background imageLoading...
Page #14 background image
LTE Module Series
EC2x&EG9x&EM05 SMTP AT Commands Manual
EC2x&EG9x&EM05_SMTP_AT_Commands_Manual 13 / 31
//Add subject for email and the <charset> is UTF8. “7465737420534D5450” is the hex string of “TEST
SMTP”.
AT+QSMTPSUB=1,"7465737420534D5450" //Edit subject and the character set is 1 which means
UTF8.
OK
AT+QSMTPSUB? //Query subject of the email.
+QSMTPSUB: 1,"7465737420534D5450"
OK
2.4. AT+QSMTPBODY Edit the Body of an Email
The command is used to edit the body of an email. When AT+QSMTPBODY is executed, the module will
enter into data mode. All inputted data will be the body of email. If the inputted data reaches the
<body_length> or the time reaches <input_time>, the module will exit from data mode automatically. If the
inputted data is less than the <body_length>, customers can finish editing body by inputting “+++” or
changing DTR level from low to high before <input_time> reaches. The maximum size of the email body
is 10 Kbytes. The actual body length is the inputted data length.
Parameter
AT+QSMTPBODY Edit the Body of an Email
Test Command
AT+QSMTPBODY=?
Response
+QSMTPBODY: (0-3),(1-10240),(1-65535)
OK
Read Command
AT+QSMTPBODY?
Response
OK
Write Command
AT+QSMTPBODY=<charset>,<body_l
ength>[,<input_time>]
Response
If the format is correct and it is not sending an email:
CONNECT
<Input body data>
+QSMTPBODY: <input_length>
OK
If there is any error, response:
+CME ERROR: <err>

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