如何以编程方式更改Gmail的密码? [英] How to change Gmail's password programmatically?
问题描述
我碰到这个问题,最近又传出地方,我需要以编程方式更改Gmail的账号密码,现在还在想着理想的方法。
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.
基本上通过提供Gmail的当前用户名/密码,我的应用程序将验证,然后,请求密码更改为提供一个新的和返回成功。
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.
卷曲似乎是因为我平时用PHP工作显而易见的选择,但我也一直在寻找到像的 libgmailer , Sikuli ,或的 scRUBYt!(虽然不知道你可以用这个帖子)。
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).
- 您会如何处理这个任务?
- 是否有已制作完成的其他
工具来简化这一任务? - 它甚至可行吗?
谢谢!
推荐答案
有对此并没有可靠的解决方案。如果使用卷曲 - 这是确定的,但你将有涂支持应用程序永远
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 ;-)
除了鲍勃迪伦任何密码通过API是可能的,但不是这样,据我所知。
Anything except changin password is possible via API, but not this, AFAIK.
这篇关于如何以编程方式更改Gmail的密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!