Re: Use LWP to access gmail messages
Shlomi Fish <[email protected]> Sat, 12 May 2018 11:14:18 +0300
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| 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, >=20 > I am new to perl but think I love it. >=20 > How can I use LWP to access the google mail web page, select uread messag= es > and display them directly in the gmail? >=20 > I do not want to save them somewhere. Just make gmail display the unread > messages. >=20 > =20 >=20 > Here are steps: >=20 > 1. Run Google Chrome; >=20 > 2. Go to the page http://www.google.com, this will display the page > https://www.google.com; >=20 > 3. Find and clic on gmail button in this page; >=20 > 4. Wait until all the page loads; >=20 > 5. Select my account in a displayed form (there is a list of 2 accou= nts > in a that form: one is my wife's account) and clic on it; >=20 > 6. Fill in my password and clic Next >=20 > 7. When all messages are completely loaded, display only those unrea= d. >=20 > =20 >=20 > I do not want to use WWW:Mechanize because it does not deal will javascri= pt. >=20 > Can hope to be helped? >=20 See http://perl-begin.org/uses/web-automation/ and https://metacpan.org/release/WWW-Mechanize-Chrome . LWP does not deal with = JS either. Regards, > =20 >=20 > Anyway thanks a lot. >=20 > =20 >=20 > A.KOTE >=20 --=20 ----------------------------------------------------------------- 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. =E2=80=94 My father=E2=80=99s mentor=E2=80=99s advice Please reply to list if it's a mailing list post - http://shlom.in/reply .