Jump to content

Recommended Posts

Posted (edited)

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

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
×
×
  • Create New...