List Info

Thread: 2 new messages in 2 topics - digest




2 new messages in 2 topics - digest
user name
2007-05-24 03:18:06
 
google.public.web-apis
http://groups.google.com/group/google.public.web-apis
?hl=en

google.public.web-apisgooglegroups.com

Today's topics:

* help needed for GWT - 1 messages, 1 author
 http://groups.g
oogle.com/group/google.public.web-apis/browse_thread/thread/
3174421d70a3a30f?hl=en
* problem downloading Drafts messages - 1 messages, 1
author
 http://groups.g
oogle.com/group/google.public.web-apis/browse_thread/thread/
a125b0f66b503871?hl=en

============================================================
==================
TOPIC: help needed for GWT
http://groups.g
oogle.com/group/google.public.web-apis/browse_thread/thread/
3174421d70a3a30f?hl=en
============================================================
==================

== 1 of 1 ==
Date: Wed, May 23 2007 5:58 am 
From: ranajaysengupta2006gmail.com 


hi,

i am trying to build a java application which will search
for a
particular keyword using google. but i am not able to
implement the
same. can anyone please help me regarding this. i have
downloaded the
GWT from the google site. but i dont have the key to use it.
i will
need help for that too. can someone please help me with
that.

Ranajay

 




============================================================
==================
TOPIC: problem downloading Drafts messages
http://groups.g
oogle.com/group/google.public.web-apis/browse_thread/thread/
a125b0f66b503871?hl=en
============================================================
==================

== 1 of 1 ==
Date: Wed, May 23 2007 6:48 am 
From: Yakov  


I'm having problem downloading Drafts messages using perl's
Mail::Webmail::Gmail.
Is it problem of Mail::Webmail::Gmail ? (seems unlikely to
me)
Or a restriction on the gmail side ? I do get list of my
drafts
messages, including
subjects and message IDs. When I try to downloaded bodies
of
messages,
I get nothing. Anybody knows why ? The sampe code is below.
Thanks
Yakov
---------------------- gmail-get-drafts.pl
------------------------------
#!/usr/bin/perl

$LABEL = "Drafts";
$USER = "username";
$PASS = "mypass";

use Mail::Webmail::Gmail;
# http://search.cpan.
org/~mincus/Mail-Webmail-Gmail-1.09/lib/Mail/Webmail/Gmail.p
m#SENDING_MAIL

print STDERR "    * logging in to gmail ...n";
my $gmail = Mail::Webmail::Gmail->new(
                username => $USER, password => $PASS
            );
die "Error" if ! defined($gmail);
print "connectedn";

use Data:umper;
print STDERR "    * getting message list for label
'$LABEL' ...n";
my $messages = $gmail->get_messages( label => $LABEL 
);
my $count = scalar($messages );
print "# $count messagesn";

print STDERR "    * downloading messages ...n";
my $progress=0;
foreach ( { $messages } ) {
    my $msg_summary = $_;
    ++$progress;
    printf "# --------------- %d of %dn",
$progress, $count;
    print Dumper($_);

    my $id = $_->;
    print "id=<$id>n";

    my $email = $gmail->get_indv_email( id => $id );
    # my $email = $gmail->get_indv_email( msg => $_
);
    print Dumper($email);
}
print "n";

 



============================================================
==================

You received this message because you are subscribed to the
Google Groups "google.public.web-apis"
group.

To post to this group, visit http://groups.google.com/group/google.public.web-apis
?hl=en

To unsubscribe from this group, send email to
google.public.web-apis-unsubscribegooglegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/google.publi
c.web-apis/subscribe?hl=en

To report abuse, send email explaining the problem to
abusegooglegroups.com

============================================================
==================
Google Groups: http://groups.google.c
om?hl=en

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )