Drupal 7 - 发送错误电子邮件
我正在使用 Drupal 7 构建一个网站。 对于生产网站,您可能需要关闭错误显示 (在 管理 › 配置 › 开发 中)。 不过,我希望在发生错误时能够快速收到警报,以便我可以检查该网站并修复它。那么有没有办法让 Drupal 在发生错误时向我发送电子邮件(并将电子邮件数量限制为每天最多一封或其他)?我查看了“触发”模块和“操作”下的内容,但不知道如何执行此操作。 谢谢
I'm using Drupal 7 to build a website.
For production websites you might want to switch off showing of errors
(in Administration › Configuration › Development ).
However I would like to be alerted quickly when errors are occurring so I can check out the site and fix it. So is there a way to get Drupal to send me an email when an error occurs (and limit the number of emails to max one per day or something)? I've looked at the Trigger module and under 'actions' but cant figure out how to do this.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,很久以前就有人问过这个问题了,只是偶然发现了它......无论如何,有一个 D6 模块,我正在/正在为所有 D6 站点使用它 - 日志记录和警报 - http://drupal.org/project/logging_alerts。查看“所有版本”,似乎有一个 dev D7 版本,但到目前为止尚未对其进行测试,并且不知道它是否以及如何工作。也许你想尝试一下——无论如何,这就是我要做的。
Well, that was asked pretty long time ago already, and just have found it by accident... Anyway, there is a module for D6 which I was/am using for all D6 sites - Logging and alerts - http://drupal.org/project/logging_alerts. Looking into 'all releases' it seems there is a dev D7 version, but haven't tested it so far, and have no idea whether and how it works. Perhaps you would like to give it a try - that's what I am going to do anyway.