How to change Gmail's password programmatically?

╄→尐↘猪︶ㄣ 提交于 2019-12-11 21:17:03

问题


I came across this issue recently where I needed to change a Gmail's account password programmatically and am still thinking about the ideal approach.

Basically by providing Gmail's current username/password my application would then authenticate and request the password to be changed to a new one provided and return success.

CURL seems to be the obvious choice as I usually work with PHP, but I have also been looking into other possibilities like libgmailer, Sikuli, or scRUBYt! (although not sure you can post with the this).

  • How would you approach this task?
  • Are there any other already made tools to simplify this task?
  • Is it even feasible?

Thanks!


回答1:


There is no reliable solution for this. If you use curl - that's ok, but you will have tu support the application forever.

Also, you will need to handle captcha ;-)

Anything except changin password is possible via API, but not this, AFAIK.



来源:https://stackoverflow.com/questions/3891345/how-to-change-gmails-password-programmatically

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