login about faq

I am trying our Chilkat Mail and in this I have run into an unusual problem.

I am using following code to get Mail Count:

MsgBox "Mail Count BEFORE 'Pop3BeginSession': " & ChilkatMailMan21.GetMailboxCount() ChilkatMailMan21.Pop3BeginSession MsgBox "Mail Count AFTER 'Pop3BeginSession': " & ChilkatMailMan21.GetMailboxCount()

Both of these return the same mail count which again does not match with the actual mail count on GMail.

I have to note that each mail will always have an attachment which is always less than 3K in size.

Here is the session info:

    Session Log

**** Connected to pop.gmail.com:995
    < +OK Gpop ready for requests from b2pf15314200pbd.26
    > USER amrdistphc@gmail.com
    < +OK send PASS
    > PASS ****
    < +OK Welcome.
    > STAT
    < +OK 4696 13931849

Has anyone ever faced such a problem?

asked Aug 23 '12 at 10:08

Yogi%20Yang's gravatar image

Yogi Yang

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


answered Aug 23 '12 at 11:51

chilkat's gravatar image

chilkat ♦♦

Thanks for the links but the problem is something else actually.

The number of emails returned seems to stay steady. Meaning that I run the software and get email count (which in this case is: 4696).

After that I send a few emails from my other email account and check it on GMail to verify that those emails have arrived in inbox.

Now I re-run the software the still it returns the same email count: 4696.

This is what I can't understand....

(Aug 24 '12 at 09:29) Yogi Yang
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 23 '12 at 10:08

Seen: 2,404 times

Last updated: Aug 24 '12 at 09:29

powered by OSQA