Mail::Webmail::Gmail 1.08 review

Download
by rbytes.net on

Mail::Webmail::Gmail is an interface to Google's webmail service. SYNOPSIS # Perl script that logs in to Gmail, retrieves t

License: Perl Artistic License
File size: 23K
Developer: Allen Holman
0 stars award from rbytes.net

Mail::Webmail::Gmail is an interface to Google's webmail service.

SYNOPSIS

# Perl script that logs in to Gmail, retrieves the user defined labels
# Then prints out all new messages under the first label

use Mail::Webmail::Gmail;

my $gmail = Mail::Webmail::Gmail->new(
username => 'username', password => 'password',
);

my @labels = $gmail->get_labels();

my $messages = $gmail->get_messages( label => $labels[0] );

foreach ( @{ $messages } ) {
if ( $_->{ 'new' } ) {
print "Subject: " . $_->{ 'subject' } . " / Blurb: " . $_->{ 'blurb' } . "n";
}
}

ABSTRACT

This perl module uses objects to make it easy to interface with Gmail. I eventually hope to implement all of the functionality of the Gmail website, plus additional features.

Because Gmail is currently in Beta testing, expect this module to break as they make updates to thier interface. I will attempt to keep this module in line with the changes they make, but, if after updating to the newest version of this module, the feature that you require still doesn't work, please contact me with the issue.

Requirements:
Perl

Mail::Webmail::Gmail 1.08 keywords