Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] problem in sim900 and AT command

Status
Not open for further replies.

Mohamed Slama

Member level 4
Joined
Nov 8, 2013
Messages
72
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
443
HI

I've Connected the SIM900 to arduino uno and I'm Sending & Receiving codes

I want to send Email from sim900 to one of my E-mail accounts.

In the last step of sending E-mail , after sending the code "AT+SMTPAUTH=1,"xxxxxxxx@xxxxx.com","xxxxxxxx" it gives me error

so, how do i fix this problem and send mail from my gprs

- - - Updated - - -

and AT+SMTPSEND as well
 

Hi Mohamed Slama,

With the amount information that you have given it is next to impossible to be able to provide any suggestions to you.

Here is a link for the SIM900 Email Command Manual that may guide your way.

www.xmodus.ch/Downloads/XM7400S/EMAIL_APN.pdf

Cheers.
 

i have read this manual but still cant send mail

every thing is ok except AT+SMTPSEND it gives error

- - - Updated - - -

AT+EMAILCID=1
ok

AT+EMAILTO=30

ok
AT+SMTPSRV="mail.xxxx.com",26
ok

AT+SMTPAUTH=1,"m@xxxxx.com","12345"


AT+SMTPFROM="m@xxxx.com","m"
ok
AT+SMTPSUB="REPORTE_GPRS"
ok

AT+SMTPBODY
> Hello

ok
AT+SMTPSEND
ERROR

- - - Updated - - -

my firmaware for sim900 is 1137B10SIM900M64_ST_Email_TEST_2011110
 

Manual says "ERROR" on SMTPSEND without an error code is related to ME functionality.

Are other TCP/IP services working?
 

I think you should post your SIM900 initialization commands.

I have never used email with a SIM900 but I assume that you would need to issue a AT+CIICR command to attach to the network.

Cheers.



Edit: After a quick look at the document it would appear you need to set a bearer profile, have you done this?
 
Last edited:

thank you for all

the problem is solved

the problem was closing gprs with AT command before sending the mail.

finallyyyyy, email sent
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top