EG800Q-EU SMTP SSL email send problem +QSMTPPUT: 654,0

Hi there,

I have EG800Q-EU (EG800QEULCR01A10M04) and i have problem with SMTP(S) email send. After all i always receive response +QSMTPPUT: 654,0

There is no STMP(S) application note for EG800Q-EU but i relay on

The problem only exist when I use SMTP with SSL. I can send emails without SSL with no problem all the time but when I use SSL/TLS it appears all the time.

AT command log below:

[GSM ATC] at

OK
[GSM ATC] AT+GMM

EG800Q-EU

OK
[GSM ATC] AT+CGMR

EG800QEULCR01A10M04

OK

[GSM ATC] ATE1

OK
[GSM ATC] AT+CFUN=1

OK
[GSM ATC] AT+CMEE=2

OK
[GSM ATC] AT+CTZU=1

OK
[GSM ATC] AT+CTZR=1

OK
[GSM ATC] AT+CREG=2

OK
[GSM ATC] AT+CGREG=2

OK
[GSM ATC] AT+CEREG=2

OK
[GSM ATC] AT+CPIN?

+CPIN: SIM PIN

OK
[GSM ATC] AT+QPINC?

+QPINC: "SC",3,10
+QPINC: "P2",3,10

OK
[GSM ATC] AT+CPIN="####"

OK
[GSM ATC] AT

OK
[GSM ATC] AT+CSQ

+CSQ: 99,99

OK
[GSM ATC] AT+CREG?

+CREG: 2,0

OK
[GSM ATC] AT+CPIN?

+CPIN: READY

OK
[GSM ATC] AT

OK
[GSM ATC] AT+CSQ

+CSQ: 15,99

OK
[GSM ATC] AT+CREG?

+CREG: 2,1,"53FC","619F16",7

OK
[GSM ATC] AT+CMGF=1

OK
[GSM ATC] AT+CSMP=17,167,0,0

OK
[GSM ATC] AT+CSCS="GSM"

OK
[GSM ATC] AT+CPMS="ME","ME","ME"

+CPMS: 0,255,0,255,0,255

OK
[GSM ATC] AT

OK
[GSM ATC] AT+CSQ

+CSQ: 14,99

OK
[GSM ATC] AT+CCLK?

+CCLK: "24/11/08,08:36:31+04"

OK
[GSM ATC] AT+CSQ

+CSQ: 14,99

OK

[GSM ATC] AT+QICSGP=1,1,"plus","","",1

OK
[GSM ATC] AT+QIACT=1

OK
[GSM ATC] AT+QIACT?

+QIACT: 1,1,1,"10.107.17.191"

OK
[GSM ATC] AT+QSMTPCFG="contextid",1

OK
[GSM ATC] AT+QSMTPCFG="ssltype",1

OK
[GSM ATC] AT+QSMTPCFG="sslctxid",1

OK
[GSM ATC] AT+QSSLCFG="ciphersuite",1,0xFFFF

OK
[GSM ATC] AT+QSSLCFG="seclevel",1,0

OK
[GSM ATC] AT+QSSLCFG="sslversion",1,1

OK
[GSM ATC] AT+QSMTPCFG="smtpserver","####.nazwa.pl",465

OK
[GSM ATC] AT+QSMTPCFG="account","my@email.pl","my_password"

OK
[GSM ATC] AT+QSMTPCFG="sender","sender@email.pl","sender@email.pl"

OK
[GSM ATC] AT+QSMTPDST=1,1,"dst@email.pl"

OK
[GSM ATC] AT+QSMTPSUB=0,"Subject_test"

OK
[GSM ATC] AT+QSMTPBODY=0,10,120

CONNECT

+QSMTPBODY: 10

OK
[GSM ATC] AT+QSMTPPUT=300

OK

+QSMTPPUT: 654,0

[GSM ATC] AT+QSMTPCLR

OK
[GSM ATC] AT+QIDEACT=1

OK

Hi @tomzi
I suggest you change another port number (“smtpserver”,“####.nazwa.pl”,25)and try again
image

@Hayes Still the same, tried port 465, 587, 25, 2525 but no luck at all.

When i change AT+QSMTPCFG=“ssltype”,1 to 0 and set port 587 or 25 it sends emails each time.

but when AT+QSMTPCFG=“ssltype”,1 and port 465,587,25 or 2525 it always returns +QSMTPPUT: 654,0

Chcecked SMTP provider settings and when SSL is of it should be port 587 and for SSL it should be port 465

I use different LTE 4G modules (SIMCOM for eg.) and it sends emails with SSL properly with port 465

Hi @tomzi
Please help confirm whether the SSL verification required by the server does not require a certificate. In addition, AT+QSSLCFG=“sslversion”,1,4 can be configured to support all SSL versions to avoid connection failure due to SSL version mismatch.

@lyman-Q
Nope, AT+QSSLCFG=“sslversion”,1,4 doesn’t work also as i can see the AT+QSSLCFG=“sslversion”,1,4 is default setting

As nazwa.pl says there is no cert needed:

  • Outgoing mail port: 465;
  • Authentication method: Normal password.

I can switch to other LTE module (SIMCOM A7863E for eq.) and there SMTP email send with SSL works fine with these parameters as plug&play.

Thanks to tech-support it turned out that there was a bug in the original firmware - it was fixed and now everything works fine!