PHP Classes

Statistics() reports total number of messages once only

Recommend this page to a friend!

      POP3 e-mail client  >  All threads  >  Statistics() reports total number of...  >  (Un) Subscribe thread alerts  
Subject:Statistics() reports total number of...
Summary:While debugging I want the message count to be consistent
Messages:2
Author:Sean Newell
Date:2015-09-14 10:52:36
 

  1. Statistics() reports total number of...   Reply   Report abuse  
Picture of Sean Newell Sean Newell - 2015-09-14 10:52:36
Hi, when I use your browse_mailbox example I can get it to retrieve my messages from a gmail account, however as soon as I run the script a second time, the message count reverts to zero. So far the only way I have found to reset this is to go into my gmail settings and switch off POP access and then switch it on again. This is time consuming while I am writing and debugging my code. Can you suggest a better way so stop the code from marking the messages as already retrieved? Thanks!

  2. Re: Statistics() reports total number of...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-09-14 17:21:33 - In reply to message 1 from Sean Newell
The class just reports what the server returns.

If there is a solution, it must be specific to Gmail. I recommend that you ask on a Gmail forum, maybe they are aware of appropriate options for your problem.