Archived Forum Post

Index of archived forum posts

Question:

Chilkat reports wrong number of emails in GMail POP3 mailbox?

Aug 22 '12 at 10:56

I was trying our your Mail ActiveX component and I observed that your component is reporting wrong email count in GMail.

Let me explain in detail:
In my GMail account I have to 3,993 emails in all. But when I use the code: Msgbox ChilkatMailMan21.GetMailboxCount()

It returns only 469 mails. While IMAP returns 3066 mails. Why so?

I also get the same count when I use:

Set bundle = ChilkatMailMan21.GetAllHeaders(1)
MsgBox bundle.MessageCount


Answer

See this Chilkat blog post about the Number of Messages in a POP3 Inbox

Also see these Chilkat posts about GMail:

Understanding GMail's Behavior

GMail Settings for POP3 and IMAP Access