Hi,
We are trying to send email using Simple Mail Transfer Protocol (SMTP), but don’t able to send it.
We are using EC20 module.
I have attached below log and error message.
Error:
31-08-2024 09:42:03.65 [RX] - <CR><LF>
+QSMTPPUT: 654,535<CR><LF>
AT+QSMTPPUT=300<CR>
<CR><LF>
OK<CR><LF>
Log:
AT+QSIMSTAT=1<CR><LF>
<CR><LF>
OK<CR><LF>
AT+CREG?<CR><LF>
<CR><LF>
+CREG: 0,1<CR><LF>
<CR><LF>
OK<CR><LF>
AT+QSSLCFG="sslversion",1,1<CR>
<CR><LF>
OK<CR><LF>
AT+QSSLCFG="seclevel",1,0<CR>
<CR><LF>
OK<CR><LF>
AT+QSSLCFG="ciphersuite",1,0xFFFF<CR>
<CR><LF>
OK<CR><LF>
AT+QSMTPCFG="ssltype",2<CR>
<CR><LF>
OK<CR><LF>
31-08-2024 09:41:43.41 [RX] - AT+QSMTPCFG="sslctxid",1<CR>
<CR><LF>
OK<CR><LF>
31-08-2024 09:41:43.98 [RX] - AT+QSMTPCFG="account","sagar.dhande07","S@gar123"<CR>
<CR><LF>
OK<CR><LF>
AT+QSMTPCFG="sender","SAGAR","sagar.dhande07@hotmail.com"<CR>
airtelgprs.com<NUL> <CR><LF>
OK<CR><LF>
AT+QSMTPCFG="smtpserver","smtp.gmail.com",587<CR>
<CR><LF>
OK<CR><LF>
AT+QSMTPSUB=0,"MODBUS"<CR>
<CR><LF>
OK<CR><LF>
AT+CSQ<CR><LF>
<CR><LF>
+CSQ: 25,99<CR><LF>
<CR><LF>
OK<CR><LF>
AT+CMGF=1<CR><LF>
<CR><LF>
OK<CR><LF>
AT+CSCS="IRA"<CR><LF>
<CR><LF>
OK<CR><LF>
AT+CCLK?<CR><LF>
<CR><LF>
+CCLK: "24/08/31,09:41:46+22"<CR><LF>
<CR><LF>
OK<CR><LF>
AT+CMGR=0<CR><LF>
<CR><LF>
OK<CR><LF>
31-08-2024 09:41:47.20 [RX] - AT+CMGS="+919765737819"<CR><LF>
<CR><LF>
>S ET01 :<LF>
1 - 1 <LF>
2 - 0 <LF>
3 - 0 <LF>
4 - 0 <LF>
5 - 0 <LF>
6 - 0 <LF>
7 - 0 <LF>
8 - 0 <LF>
9 - 0 <LF>
10- 0 <LF>
<SUB><CR><LF>
+CMGS: 217<CR><LF>
<CR><LF>
OK<CR><LF>
31-08-2024 09:41:53.78 [RX] - AT+CMGF=1<CR><LF>
<CR><LF>
OK<CR><LF>
AT+QICSGP=1,1,"INTERNET","","",1<CR>
<CR><LF>
OK<CR><LF>
AT+CSCS="IRA"<CR><LF>
<CR><LF>
OK<CR><LF>
AT+QSMTPDST=1,1,"sanrnd1@santelequip.com"<CR>
<CR><LF>
OK<CR><LF>
AT+QSMTPBODY=0,158,120<CR>
<CR><LF>
CONNECT<CR><LF>
SET01 :<LF>
1 - 1 <LF>
2 - 0 <LF>
3 - 0 <LF>
4 - 0 <LF>
5 - 0 <LF>
6 - 0 <LF>
7 - 0 <LF>
8 - 0 <LF>
9 - 0 <LF>
10- 0 <LF><CR>
<LF>
+QSMTPBODY: 158<CR><LF>
<CR><LF>
OK<CR><LF>
31-08-2024 09:42:00.16 [RX] - AT+QSMTPPUT=300<CR>
<CR><LF>
OK<CR><LF>
31-08-2024 09:42:03.65 [RX] - <CR><LF>
+QSMTPPUT: 654,535<CR><LF>
AT+QSMTPPUT=300<CR>
<CR><LF>
OK<CR><LF>