[SHLOMIF - Sat Sep 10 05:33:41 2005]:
Show quoted text> It seems that the Gmail changes have broken Mail::Webmail::Gmail. An
> analysis shows it fails on the conditional:
>
> if ( $res->content() =~ /top.location = "(.*?)";/ ) {
> $req = HTTP::Request->new( GET =>
> "
https://www.google.com/accounts/$1" );
> $req->header( 'Cookie' => $self->{_cookie} );
>
> But I don't know exactly how to fix it from there.
Attached is a diff against the module that fixes this problem for
something I tried. The diff still has some issues. Among else, I
modified the delete_messages function to section the messages into
groups of 200 and delete them group by group. This may have only been
necessary due to my ISP's mis-behaviour, and generally should work.
I've also refactored the code a bit.
I'd like to thank:
1. The commentator on this bug for the LWP::UserAgent patchlet (that
was implemented as an LWP::UserAgent sub-class here.)
2. The hackers of the libgmail python interface whose code I used to
remedy the login here.
Regards,
Shlomi Fish