发送电子邮件作为通知
嘿,我正在创建一个应用程序,想知道有没有一种方法可以自动从我的应用程序发送电子邮件,比如说在 3:00,自动发送电子邮件,而无需用户输入任何内容。因此,用户不必创建打开 gmail 的意图,而是必须点击“发送”,有没有办法发送它?谢谢!
Hey, i'm creating an application and would like to know, is there a way to automatically send an email from my application, lets say at 3:00, automatically without any input from the user. So instead of creating an intent to open gmail then user has to hit 'send' is there a way to just send it? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这就是您所需要的:
This is all you need:
我不这么认为(我期待得到一个证明我错的答案),但我认为这存在安全问题。但我知道你可以做的是进行一个网络服务调用,该调用可以发送一封电子邮件(代表用户),该电子邮件的回复设置为用户的电子邮件地址。
I don't think so (I look forward to an answer that proves me wrong) but I think there are security concerns for that. BUT what I know you could do is make a webservice call that could send an e-mail (on behalf of the user) that has the reply-to set to the user's e-mail address.