利用谷歌帐户凭据发送电子​​邮件Android中 [英] Leverage Google account credentials to send email in Android

查看:225
本文介绍了利用谷歌帐户凭据发送电子​​邮件Android中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在Android的以编程方式发送邮件使用手机的相关凭据的GMail电子邮件?我可以发送电子邮件时,我明确地提供用​​户名和密码,但我希望能够利用已经与手机相关的谷歌帐户。请注意,我并​​不需要实际访问用户名或密码;我只是想间接地利用这些信息来发送电子邮件。

Is it possible in Android to programmatically send an email using the phone's associated GMail credentials? I can send an email when I explicitly provide the username and password, but I was hoping to leverage the Google account already associated with the phone. Note that I don't need to actually access the username or password; I just want to leverage this information indirectly to send email.

推荐答案

它看起来像一个项目正在进行,可能会支持此功能,但我还没有来得及钻进去了。请参阅谷歌认证换机器人

It looks like a project is underway that may support this functionality, though I have not yet had a chance to dig into it. See the google-authenticator-for-android.

这篇关于利用谷歌帐户凭据发送电子​​邮件Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆