Jump to content
Sign in to follow this  
bluerein

Gmail easy login

Recommended Posts

bluerein

I was trying to find a way to swap gmail account quickly and came up with this..

#include <IE.au3>

_gmail()

func _gmail()

$logout = "http://mail.google.com/mail/?logout"
$user = "email"
$pass = "password"
$url = "https://www.google.com/accounts/ServiceLoginAuth?continue=http://mail.google.com/gmail&service=mail&Email=" & $user & "&Passwd="& $pass &  "&null=Sign+in"
$oIE = _IECreate($logout,1,1,1,1)
_IENavigate($oIE,$url)

EndFunc

works with igoogle also

$url = $url ="https://www.google.com/accounts/ServiceLoginAuth?Email=" & $user & "&Passwd=" & $pass &"&continue=http://google.com/ig&signIn=Sign%20in&PersistentCookie=yes"

you need the logout bit if you wanna keep swapping accounts

Edited by bluerein

Share this post


Link to post
Share on other sites
bluerein

my thoughts exactly..

Also you can switch accounts so fast!!

Share this post


Link to post
Share on other sites
Jos

Only issue I can see here is that you send your account information over the Internet in clear-text.

Jos :)


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.