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 #13 background imageLoading...
Page #13 background image
LTE Module Series
EC2x&EG9x&EM05 SMTP AT Commands Manual
EC2x&EG9x&EM05_SMTP_AT_Commands_Manual 12 / 31
2.3. AT+QSMTPSUB Edit the Subject of an Email
The command is used to edit the subject of an email. If <charset> is not ASCII, the inputted data should
be the hex string of the original subject.
Parameter
Example
//Add subject for an email and the <charset> is ASCII.
AT+QSMTPSUB=0,"TEST SMTP" //Edit subject and the character set is 0 which means ASCII.
OK
AT+QSMTPSUB? //Query subject of the email.
+QSMTPSUB: 0,"TEST SMTP"
OK
AT+QSMTPSUB Edit the Subject of an Email
Test Command
AT+QSMTPSUB=?
Response
+QSMTPSUB: (0-3),<subject>
OK
Read Command
AT+QSMTPSUB?
Response
+QSMTPSUB: <charset>,<subject>
OK
Write Command
AT+QSMTPSUB=<charset>,<subject>
Response
OK
Or
+CME ERROR: <err>
<charset> Integer type. The character set of the subject.
0 ASCII
1 UTF-8
2 GB2312
3 BIG5
<subject> String type. The subject of the email. If <charset> is 0, this string will be the subject of
the email. Otherwise, it is formatted as a hex string, e.g. “41” means the hex value
0x41. If the character set is ASCII, the length of <subject > is 0-100 in unit of byte. If
the character set is not ASCII, the length of <subject> should be even and the range
is 0-200 in unit of byte.
<err> Integer type. The error code of the operation. Please refer to Chapter 5.

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