Re: Use LWP to access gmail messages

[email protected] (Shlomi Fish)
Newsgroups perl.libwww
Message-ID <[email protected]>
Hi A!

Please reply to list if it's a mailing list post - http://shlom.in/reply .

On Fri, 11 May 2018 20:47:19 -0000
"Alicourant KOTE" <[email protected]> wrote:

> Hi everybody,
> 
> I am new to perl but think I love it.
> 
> How can I use LWP to access the google mail web page, select uread messages
> and display them directly in the gmail?
> 
> I do not want to save them somewhere. Just make gmail display the unread
> messages.
> 
>  
> 
> Here are steps:
> 
> 1.      Run Google Chrome;
> 
> 2.      Go to the page http://www.google.com, this will display the page
> https://www.google.com;
> 
> 3.      Find and clic on gmail button in this page;
> 
> 4.      Wait until all the page loads;
> 
> 5.      Select my account in a displayed form (there is a list of 2 accounts
> in a that form: one is my wife's account) and clic on it;
> 
> 6.      Fill in my password and clic Next
> 
> 7.      When all messages are completely loaded, display only those unread.
> 
>  
> 
> I do not want to use WWW:Mechanize because it does not deal will javascript.
> 
> Can hope to be helped?
> 

See http://perl-begin.org/uses/web-automation/ and
https://metacpan.org/release/WWW-Mechanize-Chrome . LWP does not deal with JS
either.

Regards,

>  
> 
> Anyway thanks a lot.
> 
>  
> 
> A.KOTE
> 



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://www.shlomifish.org/humour/bits/New-versions-of-the-GPL/

Take your schedule estimates and multiply them by Pi. Take your expected
profits and divide them by Pi.
    — My father’s mentor’s advice

Please reply to list if it's a mailing list post - http://shlom.in/reply .
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.