Leverage Google account credentials to send email in Android

心已入冬 提交于 2019-12-23 16:56:45

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/2398840/leverage-google-account-credentials-to-send-email-in-android

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