Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

GMail::Checker problem

by zakkotron (Initiate)
on Nov 11, 2011 at 13:11 UTC ( #937573=perlquestion: print w/ replies, xml ) Need Help??
zakkotron has asked for the wisdom of the Perl Monks concerning the following question:

hi

I m having a bit of problem with module GMail::Checker.Whenever i run the code to see the size of the mails and the number,I get the result 272 97724592.But i have 294 messages in my inbox not 272.I even deleted some messages and tried again but the result was the same.The code is below

use GMail::Checker; my $mail=new GMail::Checker(USERNAME => "XXXXX",PASSWORD => "XXXXXX"); $mail->login("XXXXX","XXXXXX"); my ($no, $size)=$mail->get_msg_nb_size(); print $no." ".$size;

anyone knows what i m doing wrong

Comment on GMail::Checker problem
Download Code
Re: GMail::Checker problem
by ansh batra (Friar) on Nov 11, 2011 at 13:29 UTC
    facing the same problem
    actual no=393
    $nb=324
Re: GMail::Checker problem
by ansh batra (Friar) on Nov 22, 2011 at 16:14 UTC
    hi zakkotron
    after waiting for long here i decided to file a bug to the author of this module
    this is what i got in response
    Hi Ansh, I haven't put my hands in Gmail::Checker since 2004, and unfortunately +, upgrades to the Gmail servers might affect the functioning of some +of the functions. The output of the number of emails is an output of the STAT command on + the POP server, as described in RFC 1939. Thus this is the reply provided by the POP3 server. I will look into i +t on my end in order to identify why the number of emails returned by + the server is wrong. Best regards, Faycal CHRAIBI

    will post here if get something from his end

      Perhaps you're confusing GMail 'conversations' and the actual number of emails.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://937573]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-07-14 00:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (253 votes), past polls