LTE Module Series
EC2x&EG9x&EM05 SMTP AT Commands Manual
EC2x&EG9x&EM05_SMTP_AT_Commands_Manual 7 / 31
Step 5: Clear the email content.
AT+QSMTPCLR will clear the email content configured in
Step 3
. The attached files should be
deleted by AT+QFDEL. For more details of these commands, please refer to
Quectel_EC2x&EG9x&EM05_FILE_AT_Commands_Manual
. Then repeat
Step 3
and
4
. If the
SMTP server information and user information need to be changed, then
Step 2
to
Step 4
should
be repeated.
If emails have not been sent for a long time, such as 30 minutes or even longer, then the PDP
context should be deactivated by AT+QIDEACT=<contextID>. For more details, please refer to
Quectel_EC2x&EG9x&EM05_TCP(IP)_AT_Commands_Manual
.
1.3. Description of Data Mode
The COM port of EC2x&EG9x&EM05 modules has two working modes: AT command mode and data
mode. In AT command mode, the inputted data via COM port will be treated as AT command, while in data
mode, it will be treated as data.
Inputting
“+++” or pulling up DTR (AT&D1 should be set first) can make the module exit from data mode.
To
prevent the “+++” from being misinterpreted as data, the following sequence should be followed:
1) Do not input any character within 1s or longer before inputting
“+++”.
2) Input
“+++” within 1s, and no other characters can be inputted during the time.
3) Do not input any character within 1s af
ter “+++” has been inputted.
When AT+QSMTPBODY is executed, the COM port 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 port
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.
In such case, the COM port cannot reenter data mode by executing ATO command.