+1 vote
by (260 points)
edited

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
by (144k points)
edited
 
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.

...