Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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:


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

Replies are listed 'Best First'.
Re: GMail::Checker problem
by ansh batra (Friar) on Nov 11, 2011 at 13:29 UTC
    facing the same problem
    actual no=393
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://937573]
Approved by marto
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2018-04-23 14:19 GMT
Find Nodes?
    Voting Booth?