Jump to content

Gmail easy login


bluerein
 Share

Recommended Posts

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
Link to comment
Share on other sites

  • Developers

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

Jos :)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...