velusamy has asked for the wisdom of the Perl Monks concerning the following question:
I have installed Mail::Webmail::Gmail module from cpan. I did following code to login and get the mail.
my $gmail = Mail::Webmail::Gmail->new( username => 'user', password = +> 'password'); my $messages = $gmail->get_messages( label => $Mail::Webmail::Gmail::F +OLDERS{ 'INBOX' } ); if ($gmail->error()) { print $gmail->error_msg(); exit; } print Dumper $messages;
But,It's not returning any information about mail, instead it's not return anything. I also checked whether any error occurs by using 'error_msg()' method. But I did not get any error message also. What might be the problem? please help me out..
Have anyone experienced this..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem in Mail::Webmail::Gmail Module
by marto (Cardinal) on Apr 11, 2009 at 14:16 UTC |