[英]How do I send emails using blastula from shinyapps.io?
I'm trying to send email notifications from a shiny app using Gmail and the blastula package. What I want is that when a user presses a button, that sends an email notification to someone at my company so that they know to respond.
我正在尝试使用 Gmail 和 blastula package 从 shiny 应用程序发送 email 通知。我想要的是,当用户按下按钮时,它会向我公司的某人发送 email 通知,以便他们知道响应。 This works when running the app locally, but when deployed to shinyapps.io, I am getting a login denied error (I've updated my gmail settings for this account to allow less secure apps, which is why it's working locally).
这在本地运行应用程序时有效,但当部署到 shinyapps.io 时,我收到登录被拒绝错误(我已更新此帐户的 gmail 设置以允许安全性较低的应用程序,这就是它在本地工作的原因)。 Does anyone know how to get blastula functioning on shinyapps.io?
有谁知道如何让 blastula 在 shinyapps.io 上运行?
I created an App Password to enhance security, as per the updated vi.nette from the authors of the bastula package, and it is working now!
根据 bastula package 作者更新的 vi.nette,我创建了一个应用程序密码以增强安全性,它现在可以使用了!
https://github.com/rstudio/blastula/pull/283/commits/5d888972c0c788ac5c172403248e042489c4e1e6
https://github.com/rstudio/blastula/pull/283/commits/5d888972c0c788ac5c172403248e042489c4e1e6
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.