How to send an E-mail? | Telit Cinterion IoT Developer Community
November 15, 2014 - 9:40pm, 3472 views
Hello,
I've been trying to set up a configuration in order to send an email with the Concept Board, although I haven't succeded in it so far. So, I would appreciate some help with it!!!
Ps.: I've been using the HTerm.
at^sics=0,conType,"GPRS0"
at^sics=0,inactTo,"0"
at^sics=0,dns1,"0.0.0.0"
at^sics=0,authMode,"PAP"
at^sics=0,user,"<user>"
at^sics=0,passwd,"<pass>"
at^sics=0,apn,"<apn>"
at^siss=0,srvType,"Smtp"
at^siss=0,alphabet,"1"
at^siss=0,conId,"0"
at^siss=0,address,"smtps://User\00gmail.com:PASS\00smtp.gmail.com"
at^siss=0,smFrom,"email\00gmail.com"
at^siss=0,smRcpt,"email\00gmail.com"
at^siss=0,smSubj,"Test"
at^siss=0,smMsg,"Test Message"
at^siss=0,smAuth,"login"
at^siss=0,cmd,at ( I am not sure of what this is actually doing)
At this point I'm getting an ERROR when I use the commmand SISO (at^siso=0) as AT^SISO=0 ERROR.
Have you installed root certificates? Check AT^SJMSEC command description and Java User Guide for tips how to install them.
Hi,
Please issue AT=CMEE=2 command - maybe you'll see some more info.
Your current problem is probably connected with internet connection setup profile you set by SICS command.
Please verify if your parameters are proper. I think you should increase "inactTo" parameter - the default value is 20 and it is recommended not to set less than 3. You should probably also set some valid DNS. Is your APN address <apn> or you just changed it not to publish the proper one?
Try to configure something similar the the example from AT Commands Specification first (with your APN, user, pass, dns):
at^sics=0,conType,GPRS0
OK
AT^SICS=0,"inactTO", "20"
OK
AT^SICS=0,dns1,"193.254.160.1"
OK
AT^SICS=0,passwd,t-d1
OK
AT^SICS=0,apn,"internet.t-d1.de"
OK
Is your module registered to the network?
If you succeed with this part you will need to change "smAuth" value to "plain" for gmail.
Please also see this thread: https://iot-developer.thalesgroup.com/threads/smtp-and-gmail-no-longer-w... for gmail.
Best regards,
Bartłomiej