Discussion in "Embedded GSM Development" started by    majoka    Mar 8, 2014.
Sat Mar 08 2014, 02:25 am
#1
Hi everyone
i am trying to send email using sim900D
it has a firmware version

SIMCOM_Ltd
SIMCOM_SIM900D
Revision:1137B09SIM900D64_ST

and i am following the SIM900_Email_AT Command Manual_V1.02 manual provided by simcom
even it is not accepting any AT command relevant to Email that is mentioned in the above mentioned manual

then i upgrade the firmware to email version that is

SIMCOM_Ltd
SIMCOM_SIM900
Revision:1137B10SIM900M64_ST_Email_TEST_20111103
now it can accept email AT commands but at the end when i send email it give me error

that errors are like
+SMTPSEND: 65
+SMTPSEND: 64
+SMTPSEND: 63

63 : smtp connection error
64: timeout of smtp server
65 : smtp server response error

my at command sequence is like

AT+SAPBR=3,1,"CONTYPE","GPRS"

AT+SAPBR=3,1,"APN","zonginternet"

AT+SAPBR=3,1,"USER",""

AT+SAPBR=3,1,"PWD",""

AT+SAPBR=1,1

AT+SAPBR=2,1

AT+EMAILCID=1

AT+EMAILTO=30

AT+SMTPSRV="smtp.mail.yahoo.com",25

AT+SMTPAUTH=1,"[email protected]","xxxxxx"

AT+SMTPFROM="[email protected]","naseem"

AT+SMTPRCPT=0,0,"[email protected]","majoka"

AT+SMTPSUB="Test"

AT+SMTPBODY

THIS IS A NEW EMAIL (0x1a) (ctrl+z)

AT+SMTPSEND

one thread has some info on this forum
http://www.8051projects.net/t59199-p10/gsm-cdma-discussion/flashing-new-firmware-in-sim900-modem.htm

i hope this link can help as SurekhaIris mail all data to Ajay
i also try port 25 and 587 but same connection

any suggestions are welcomed


Tue Mar 11 2014, 11:29 am
#2
Yahoo server uses SSL. So you cannot give standard port number 25. Use Yahoo! Mail SMTP port: 465. Check if modem support SSL connections or not. Can you attach that email manual so it will be easy to help.
Tue Mar 11 2014, 08:13 pm
#3
Hi ajay
i try with each port 25,587 and 465
i follow this thread
http://www.edaboard.com/thread244401.html
in this thread it is mentioned that

gmail does not work with this firmware that does not have SSL encryption, then you will have problems in gmail, yahoo works well in gate 25 which is a simple SMTP door


simcom mail me the latest firmware release with that version i am facing same problem no improvement
ajay have you SurekhaIris mail may be that has some info for me


[ Edited Tue Mar 11 2014, 08:17 pm ]
Tue Mar 11 2014, 08:16 pm
#4
attached is the at command manual for Email provided by simcom
Wed Mar 12 2014, 01:45 pm
#5
Its better to setup an SMTP server on your PC and then try to send email. The reason why I am saying this is.. these days all public email providers like gmail/yahoo/live all uses SSL authentication. Which is not supported by modules. I am not sure about Yahoo. But I do not feel yahoo allow this on simple port coz it will be too vulnerable to hacking then. I suggest you to setup SMTP server on PC, check xampp.
Thu Mar 13 2014, 04:30 pm
#6
ok Ajay i understand thanx
Mon Mar 17 2014, 05:40 pm
#7
Let us know if everything worked
Sat May 03 2014, 11:01 pm
#8
Hi majoka,

I am using SIM900 module to send email and I have sent succesfully.
You should know a few points

-the firmmware version is 1137B02SIM900R64_ST_ENHANCE

- also you should use EMAILSSL=1 for yahoo and port 465

this has worked in my case.

I hope it will work for you.

good work.

Sermet

-
 ajay_bhargav like this.
Mon May 05 2014, 09:50 am
#9
@sermeteray thank you so much for providing inputs. Its really helpful.
Fri Jul 25 2014, 10:39 am
#10
hello everyone !
I'm using SIM900A GSM module to send email.
After connecting GPRS it shows the
AT+EMAILCID=1
ERROR
Please help me to solve this problem. Thank you.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am