smtp - 配置 SilverStripe 3.x 以使用外部 SMTP 邮件服务器

标签 smtp silverstripe

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/

相关文章:

email - Zend Framework 2 邮件 SmtpOptions SSL

ruby-on-rails - Gitlab CE 不发送电子邮件

shell - 如何以编程方式等待 Shell 命令完成运行?

php - 使用 silverstripe 3.1 创建 pdf 的最佳方法?

directory - 银条3.2 : Get ID from certain Folder

php - 如何删除 SilverStripe 中过时的数据库列

php - Silverstripe DataObject 太大,无法使用 MySQL/InnoDB 保存

javax.mail.MessagingException : Could not connect to SMTP host locally via netbeans

cryptography - 实现 CRAM-MD5 是个好主意吗?

caching - SilverStripe 中可以执行哪些不同类型的 "flush",它们有何不同?