SilverStripe 中是否有一些简单的配置选项可以使用外部 SMTP 服务器(例如 Mandrill)发送电子邮件?我现阶段不考虑模块,我只是想知道它是否可以开箱即用。
最佳答案
有许多 Mailer 替换模块可以让您执行经过身份验证的 SMTP。这是一个可以尝试的列表:
http://addons.silverstripe.org/add-ons?search=mailer&type=module&sort=
我写了其中一个 ( https://github.com/markguinn/silverstripe-email-helpers ),它使用 PHPMailer 并且是我最近使用的唯一一个。我发现如果您只是发送简单的电子邮件,实际与 Mandrill 集成的模块通常比需要的更复杂。
关于smtp - 配置 SilverStripe 3.x 以使用外部 SMTP 邮件服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31934703/