如何以编程方式更改 Gmail 密码?

发布于 2024-09-26 08:15:45 字数 489 浏览 0 评论 0原文

我最近遇到了这个问题,我需要以编程方式更改 Gmail 帐户密码,并且仍在考虑理想的方法。

基本上,通过提供 Gmail 的当前用户名/密码,我的应用程序将进行身份验证并请求将密码更改为提供的新密码并返回成功。

CURL 似乎是显而易见的选择,因为我通常使用 PHP,但我也一直在研究其他可能性,例如 libgmailerSikuliscRUBYt!(虽然不确定你是否可以用这个发帖)。

  • 您将如何完成这项任务?
  • 还有其他已经制作好的吗 有工具可以简化这项任务吗?
  • 甚至可行吗?

谢谢!

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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

┼── 2024-10-03 08:15:45

对此没有可靠的解决方案。如果您使用curl - 没关系,但您将永远支持该应用程序。

另外,您还需要处理验证码;-)

除了更改密码之外的任何操作都可以通过 API 进行,但不是这个,AFAIK。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文