Has someone been able to send an email with SIM900 or SIM800L modems ?
I have SIM800L with firmware B04 that supports SLL.
I'm trying to send an email with AT Commands but i always get the error code +SMTPSEND : 62
Can someone show me the commands to success, as a try i would like to use a personnal GMAIL or YAHOO Mail account to send an email. ( Yahoo SSL uses port 465 )
This is what i did so far with no success :
Code:
AT+SAPBR=3,1,"CONTYPE","GPRS"
AT+SAPBR=3,1,"APN","mmsbouygtel.com"
AT+SAPBR=1,1
AT+SAPBR=2,1
AT+EMAILCID=1
AT+EMAILTO=120
AT+EMAILSSL=1
AT+SMTPSRV="smtp.mail.yahoo.com",465
AT+SMTPAUTH=1,"xxxxxxxx@yahoo.fr","xxxxxxxx"
AT+SMTPFROM="xxxxxxxx@yahoo.fr","ME"
AT+SMTPRCPT=0,0,"recipient@gmail.com"
AT+SMTPSUB="test email through GPRS"
AT+SMTPBODY=4
TeSt
AT+SMTPSEND
This is a common problem with SIM800L. Im not sure if the factory is completely aware of this but the email function does not work(SSL or not) although it is advertised as a feature.
The only working examples on the net are for SIM900.
I actually called to Simcom in china. Their recommendation:
The DNS error means that module’s DNS server can’t resolve correspondent IP address according to mail domain name.
Could you please configure the AT command AT+CDNSCFG to configure DNS to switch domain name to ip address. Thanks.