【发布时间】:2015-04-22 15:28:52
【问题描述】:
我已成功配置我的 symfony webapp 以使用 SMTP 发送电子邮件。但是我所有的发送电子邮件都被放入了spool 目录。
这应该只发生在发送错误的情况下。对吗?
但是如果我执行命令swiftmailer:spool:send --env=prod,我所有的电子邮件都会正确发送。
为什么我的服务器没有立即发送电子邮件? 那是因为我修复了错误吗?有没有办法解决这个问题?
swiftmailer:
spool:
type: file
path: %kernel.root_dir%/spool
【问题讨论】:
标签: symfony configuration ubuntu-14.04 swiftmailer