Android Question Reading particular mail in gmail thru POP3

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi,

I am trying to read a particular OTP email (in gmail) from POP3. As suggested by Erel somewhere I am using a service for catching email.
If i use timer interval 1000 the POP_ListCompleted eveny does not fire if i use 1500 it fires.

Can anyone suggest a better way of doing this as I want to read OTP as soon as it comes.

Thanks
Juzer
 

DonManfred

Expert
Licensed User
Longtime User
You need to compare the list of previously gotten email-IDs with the list of email-IDs you get after a Listcommand.
The list changes if you get a new mail.
There is no remind-me-function. You have to build them by yourself.
 
Upvote 0

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi DonManfred,
I do not want remind function just i want to read the last email. I will check as you said "The list changes if you get a new mail."

Thanks for the prompt reply
 
Upvote 0
Top