POP3.GetMessageList() is not fetching all the emails from gmail?

+1 vote
asked Dec 2, 2010 by Reddy (260 points)
edited Mar 24, 2011

Hi All,

We are using Rebex.Pop3 to fetch the emails from gmail. We are using GetMessageList() method to fetch all the emails but it is not fetching all the emails, it is fetching only 290 messages out of 1000 mails. Please give me some sugggestion to fetch all the emails.

Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Dec 2, 2010 by Lukas Pokorny (128,290 points)
edited Dec 2, 2010
Best answer

Gmail has an undocumented POP3 download limit. Please check out the following links for more information:

  1. Is there a 250 messages limit when do pop?
  2. Gmail's undocumented POP3 download limit

Apparently, the workaround is to connect and call GetMessageList again - the limit will gradually grow.

However, a better solution would be to use IMAP instead of POP3 to access Gmail because the aforementioned limit only seems to be present when accessing the Gmail meailbox using POP3.