Trying to use current SIMCOM
5320 modem to end email...
Sooo close, but no prize - yet.
Unfortunately, it's a bit
different to the SIM900, as it implements a newer version of the AT command set.
Is there anyone here that can help, or has experience in what I'm missing?
Should I revert to the 'old' AT email commands - or will they become extinct within my lifetime!?
The reference says the command sequence used below initiates the session, and sends the message - but I'm suspicious that the IP bearer is not being created - but can't find any other thoughts - so 'maybe it does' but my email message ain't going through !
Tried both with and without +CGATT and +CGDCONT placed before email commands
OPEN IP BEARER
AT+CGATT=1
OPEN PDP CONTEXT
AT+CGDCONT=1, "IP", "", "0.0.0.0", 0, 0
Tried with both AUTHENTICATED and NON-AUTHENTICATED servers
Also tried different servers and ports...
==================================================
NON-AUTHENTICATED SERVER
FIRST ATTEMPT
>send_test
AT+CSMTPSSRV="smtp-relay.gmail.com", 25, 1 <<=========
AT+CSMTPSAUTH=0 <<=========
AT+CSMTPSFROM="a_user@gmail.com"
AT+CSMTPSRCPT=0,0,"b_user@gmail.com", "Test Recipient"
AT+CSMTPSSUB=11
Test report
AT+CSMTPSBODY=64
Site test report
Test message body
on multiple lines
Mo 12:33
Sent
Completed OK <<========= but nothing was sent
==================================================
SECOND ATTEMPT
>send_test
AT+CSMTPSSRV="smtp-relay.gmail.com", 25, 1 <<=========
AT+CSMTPSAUTH=1, "authuser", "authpwd" <<=========
AT+CSMTPSFROM="a_user@gmail.com"
AT+CSMTPSRCPT=0,0,"b_user@gmail.com", "Test Recipient"
AT+CSMTPSSUB=11
Test report
AT+CSMTPSBODY=64
Site test report
Test message body
on multiple lines
Mo 12:33
FAILED <<========= obviously nothing was sent