Gmail automatic login script

Deadly 提交于 2019-12-23 14:22:39

问题


I have the gmail login credintals. Is it possible to login automatically to Gmail if we pass the username and password through url or by CURL.


回答1:


If you rightclick the gmail login page and view source you can find the id's of the user email and login fields.

You can then use these to write a javascript to fill it automatically and submit.

Theres an implementation here you might check http://techtoggle.com/2009/06/how-to-autologin-into-yahoo-hotmail-lycos-mail/

Edit: its not using the languages you mentioned but its a solution all the same. Also, while the link url and article title dont mention gmail there is a gmail version of the javascript on the page




回答2:


You can use the Gmail IMAP interface to access all your mails. Retrieve Your Gmail Emails Using PHP and IMAP - details the process with code examples.



来源:https://stackoverflow.com/questions/6790114/gmail-automatic-login-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!