Discussion in "Embedded GSM Development" started by    Help    Oct 14, 2017.
Sat Oct 14 2017, 02:28 AM
#1
Dear all,

AT
// OK

// 3.1  Bearer profile
// Configure bearer profile 1
AT+SAPBR=3,1,"Contype","GPRS"
// OK

// To open a GPRS context.
AT+SAPBR=3,1,"APN","3Gprepaid"
// OK

// To query the GPRS context
AT+SAPBR=1,1
// OK

// To close a GPRS context.
AT+SAPBR=2,1
// +SAPBR: 1,1,"10.168.207.36"

// OK


// 3.5 Retrieve the Email
// Set parameters of Email 
AT+EMAILCID=1
// OK

AT+EMAILTO=30
// OK

AT+EMAILSSL=1
// OK


// Set POP3 server and account 
AT+POP3SRV="pop.gmail.com","[email protected]","xxx",995
// OK

// Log in POP3 server
AT+POP3IN
// OK

// +POP3IN: 1

// Get Email number and total size 
AT+POP3NUM
// OK
// +POP3NUM: 1,267,7430098

// Get the specific Email’s size
AT+POP3LIST=1 
// OK
// +POP3LIST: 1,1,6900

// Retrieve the specific Email
AT+POP3CMD=4,1
// OK
// +POP3CMD: 1
// +POP3READ: 3,2254

// Get the Email content
AT+POP3READ=1460
// +POP3READ: 1,1460

AT+POP3READ=1460
// +POP3READ: 1,1460

// The Email’s content is read completely
AT+POP3READ=1460
// +POP3READ: 1,1460

// Log out POP3 SERVER 
AT+POP3OUT
// OK

// +POP3OUT: 1


https://cdn-shop.adafruit.com/datasheets/sim800_series_email_application_note_v1.00.pdf
https://www.scribd.com/document/325717874/SIM800-Series-AT-Command-Manual-V1-10

I'm trying to retrieve the email from gmail. I manage to retrieve the email but i couldn't find that email in my inbox and the strange thing is try to trace back the email in inbox record it doesn't exist. Whenever i repeatedly call the command again it retrieve out difference email, seems like it retrieved the email randomly.

Is it possible to retrieve that particular email that we pointed?

Thank you..


[ Edited Sat Oct 14 2017, 03:13 AM ]
Sat Oct 14 2017, 08:06 PM
#2
What happens if you ask for the full email
ie
AT+POP3READ=3,2254
I would have expected the text of the email to appear on screen, as it is received
so I assume it is not being sent.
Try another POP3 server, it may be that gmail does not allow you
to download like this. Many web based providers don't.
 Help like this.
Sun Oct 15 2017, 03:21 AM
#3
AT+POP3READ=?
+POP3READ: (1-1460)

OK
AT+POP3READ=3,2254
+CME ERROR: operation not allowed


Do you know which POP3 server that i can try?

Gmail do allow me to retrieve the email. Sometime lucky would retrieve exactly the mail that really exist in Inbox. The mail doesn't exist in the inbox but manage to find it by using search engine. These mail that exist by search engine where i never seen and get notice before that. Is it this is more to gmail problem?

May i know which AT command is for call specific email? is it
AT+POP3CMD=4,1
1 is the 1st email?

Thank you,.

Sun Oct 15 2017, 07:29 PM
#4
According to this, gmail should support POP3.
https://support.google.com/mail/answer/7104828?hl=en
Did you redirect your mail as in
"Step 2: Set up POP" ?

>May i know which AT command is for call specific email? is it
>AT+POP3CMD=4,1
>1 is the 1st email?

There are no standard AT commands to deal with POP3 as it was not part
of the original AT command set.
You are working with a set of command made up by SIMCOM.
Every model will be different, even different software versions of the same
model could be different.
For your modem, as I understand it, yes, that should retrieve the first email.


[ Edited Mon Oct 16 2017, 01:58 AM ]

Get Social

Information

Powered by e107 Forum System

Conversation

Wed Nov 08 2017, 01:35 PM
Anirudh jain
I want to burn code in atmel 89s51 24pc 0329 but cannot get the connection with the burner. Can somebody provide me with the circuit diagram for connecting controller to burner. I'm using usb burner
Thu Nov 02 2017, 11:44 AM
karpal
write a program to exchange the content of b register with external RAM address 02CFH help me
Wed Nov 01 2017, 05:47 PM
sanae
i am using the DHT11 but i'm getting some errors in the simulate the programe in proteus 8 professional,: 1)cannot find model file 'DHTXX.MDF'.2)simulation failed due to netlist linker error(s).
Fri Sep 29 2017, 02:45 AM
Maaz
i am doing the same project on verilog please contact me [email protected]
Wed Sep 20 2017, 12:36 AM
Ted
In a missing pulse detector using a 555 timer connected as a monostable vibrator with a PNP transistor,how does the positve input pulse turn on the PNP transistor?
Sun Sep 03 2017, 02:29 PM
martymarty
How do I connect an <NOKIA 1100 LCD > to an atmega328P ?
poojab51296
Sun Aug 20 2017, 10:23 AM
i am intending to interface sd card with STM32F4 and want to write a file in sd card using SPI protocol but using HAL only. Can anyone help me PLEASE!!!!
poojab51296
Sun Aug 20 2017, 10:22 AM
hello
rawat742
Fri Aug 18 2017, 11:37 AM
hi @ angel patel i will attach a file i hope it will be helpfull for you
ExperimenterUK
Mon Aug 14 2017, 09:57 PM
@ angel patel... just log in and post your problem

Downloads

Comments

PANDIKOTESWARARAO
Mon Nov 20 2017, 07:40 PM
Hemantika
Sun Nov 19 2017, 07:34 PM
Wed Nov 15 2017, 10:46 AM
Ansh12
Sat Nov 11 2017, 03:43 AM
AngelGT93
Fri Nov 10 2017, 06:53 AM
JardCrocker
Wed Nov 08 2017, 05:27 PM
vivitern
Tue Nov 07 2017, 09:08 AM
catrons
Sat Nov 04 2017, 10:46 PM

Online

Guests: 48, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37918
Newest member: PANDIKOTESWARARAO
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Nov 20 2017, 10:18 PM
Here is a version of the tutorial that reads a key...
Ansh12 Avatar
Posted By Ansh12
Mon Nov 20 2017, 02:15 AM
As a starting point, can you tell us how much of t...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Nov 19 2017, 08:35 PM
As a starting point, can you tell us how much of t...
Ansh12 Avatar
Posted By Ansh12
Fri Nov 17 2017, 04:07 AM
I am looking keypad interfacing program. I was rea...
JardCrocker Avatar
Posted By JardCrocker
Wed Nov 08 2017, 05:29 PM
Hi...i am a new user here. I was also facing the s...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 07 2017, 07:13 PM
> It employs a fairly advanced technique to detect...
vivitern Avatar
Posted By vivitern
Tue Nov 07 2017, 09:33 AM
I own a used Clavia ddrum4 SE drum module. It empl...
bvdb Avatar
Posted By bvdb
Wed Oct 18 2017, 01:50 AM
I purchased the RKitL51 8051 C compiler from Raiso...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Oct 16 2017, 11:44 PM
That looks complicated.Is 8051_BLK a standard 80...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 15 2017, 07:29 PM
According to this, gmail should support POP3.https...