发送电子邮件作为通知

发布于 2024-10-08 03:31:50 字数 125 浏览 0 评论 0原文

嘿,我正在创建一个应用程序,想知道有没有一种方法可以自动从我的应用程序发送电子邮件,比如说在 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 技术交流群。

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

发布评论

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

评论(2

雨轻弹 2024-10-15 03:31:50

我不这么认为(我期待得到一个证明我错的答案),但我认为这存在安全问题。但我知道你可以做的是进行一个网络服务调用,该调用可以发送一封电子邮件(代表用户),该电子邮件的回复设置为用户的电子邮件地址。

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.

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