【问题标题】:Sylius emails not delivered however debug shows that it sentSylius 电子邮件未发送,但调试显示它已发送
【发布时间】:2015-05-08 20:32:10
【问题描述】:

Sylius 订单确认和订单评论电子邮件未送达,但已在调试中假脱机。同样神秘的是注册和恢复电子邮件可以正常发送。 电子邮件末尾还会显示“替代部分”文本。

sylius.mailer.transport: smtp <br>
sylius.mailer.host: localhost <br>
sylius.mailer.port: 25

尝试使用 null 的端口和使用 127.0.0.1 的主机,但 4 种排列都不起作用.. 有什么想法吗?

【问题讨论】:

    标签: php email symfony swiftmailer sylius


    【解决方案1】:

    你应该看看 Symfony 邮件配置

    http://symfony.com/doc/current/cookbook/email/email.html

    如果您有 Gmail 帐户,您可以轻松配置它

    http://symfony.com/doc/current/cookbook/email/gmail.html

    希望对你有帮助

    【讨论】:

      猜你喜欢
      • 2020-04-19
      • 1970-01-01
      • 2021-07-08
      • 1970-01-01
      • 2018-11-27
      • 2012-01-06
      • 2011-11-11
      • 1970-01-01
      • 2020-05-03
      相关资源
      最近更新 更多