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.

[General] EMAIL by GSM Modem SIM 800/900

Status
Not open for further replies.

desgin

Full Member level 1
Joined
Apr 7, 2017
Messages
96
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Activity points
813
Namste All,

I am getting problem by sending EMAIL by using SIM800 GSM Modem.
Below are my commands with error details.

AT
OK

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

AT+SAPBR=3,1,"APN","www"
OK

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

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

AT+SAPBR=1,1
OK

AT+SAPBR=2,1
+SAPBR: 1,1,"10.176.62.185
OK


AT+EMAILCID=1
OK

AT+EMAILTO=30
OK

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

AT+SMTPAUTH=1,"xxxxx@yahoo.com","xxxxxx"
OK

AT+SMTPFROM="xxxxxx@yahoo.com","desgin"
OK

AT+SMTPRCPT=0,0,"xxxxx@gmail.com","design"
OK

AT+SMTPSUB="Test"
OK

AT+SMTPBODY
ERROR

Here, I am unable to send my mail. I am using Vodafone Prepaid SIM card.
Please can anybody help me on this.
Thanks in Advance

Regards
Desgin
India
 

hi which controller you are using.
I am attaching a file it might help you.
 

Attachments

  • sim800_series_email_application_note_v1.00.pdf
    605 KB · Views: 192
  • Like
Reactions: desgin

    desgin

    Points: 2
    Helpful Answer Positive Rating
Thanks for quick rely "ud23"

I followed as per datasheet for SIM8000 GSM Modem
But still at last during AT + SMTPBODY = 19, after DOWNLOAD nothing is coming.

Now what to do ?
 

AT+SMTPBODY
ERROR
Wrong syntax (argument missing). Read manual.

- - - Updated - - -

But still at last during AT + SMTPBODY = 19, after DOWNLOAD nothing is coming.
Modem is waiting for your text input (19 characters long).
 
  • Like
Reactions: desgin

    desgin

    Points: 2
    Helpful Answer Positive Rating
Ya now i given

AT +SMTPBODY = 19

Once i am giving this command, it gives DOWNLOAD as response after that nothing is coming.
I don't understand what to do now ?
Please help me out.

Thanks in advance
Desgin
 

I tried as you said,
Now, After Transmitting (Send) AT + SMTPBODY = 5
i am getting, DOWNLOAD as a response

And then i just send new12
and then given AT command, AT + SMTPSEND <CR>
i am getting,
OK<CR><LF>
<CR><LF>
+SMTPSEND: 61<CR><LF>


Instead of +SMTPSEND: 1, So where is the mistake ?
I checked my email also, nothing is send / receive.

Thanks in advance !!
 

Wrong syntax (argument missing). Read manual.

- - - Updated - - -


Modem is waiting for your text input (19 characters long).

Thanks for your reply. Ya sir i did according to what you said, now error is not generated but email also not received/ send.
I am getting as,
4/25/2017 10:49:45.586 [TX] - AT+SMTPSEND<CR>

4/25/2017 10:49:45.605 [RX] - AT+SMTPSEND<CR>
<CR><LF>
OK<CR><LF>
<CR><LF>
+SMTPSEND: 64<CR><LF>
<CR><LF>
+SAPBR 1: DEACT<CR><LF>

Please help me out !!

Thanks in advance
Desgin
 

Thanks for your reply. Ya sir i did according to what you said, now error is not generated but email also not received/ send.
I am getting as,
4/25/2017 10:49:45.586 [TX] - AT+SMTPSEND<CR>

4/25/2017 10:49:45.605 [RX] - AT+SMTPSEND<CR>
<CR><LF>
OK<CR><LF>
<CR><LF>
+SMTPSEND: 64<CR><LF>
<CR><LF>
+SAPBR 1: DEACT<CR><LF>


Desgin

you sending blank mail so receiving blank data.

after AT+SMTPBODY=19
U GET DOWNLOAD
THIS IS TEST MAIL(UR MSG)

TRY THIS
 

you sending blank mail so receiving blank data.

after AT+SMTPBODY=19
U GET DOWNLOAD
THIS IS TEST MAIL(UR MSG)

TRY THIS

For SIM800, commands are different
I checked Datasheet of sim800, i am following that but result not achieved :-(
 
did u achieve it?
i have the same problem and i am looking for a solution so if u have one please let me know (thanks)
 

did u achieve it?
i have the same problem and i am looking for a solution so if u have one please let me know (thanks)

No i am suffering from same issue... still.
If you have idea now...
please let me know.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top