Spree Mail Method is not working?

前端 未结 1 2016
星月不相逢
星月不相逢 2021-01-25 20:40

In spree admin panel under configuration menu, I configured mail smtp, port and etc., after creating new mail method I press test mail button, I got following alert message \"Te

1条回答
  •  隐瞒了意图╮
    2021-01-25 21:00

    Please check that

    Mail delivery in Spree is disabled by default. You can enable it in two ways.

    First, if you need to keep your default Rails app action mailer configs you need to tell Spree to not override them by setting the override_actionmailer_config option to false.

    You should also tell Spree which email should go on the header from using the mails_from option. A typical spree initializer which disables all Spree default mail settings and interceptor looks like this:

    Spree.config do |config|
      config.override_actionmailer_config = true  
      config.mails_from = "no-reply@yourdomain.com"
    end
    

    refer spree mail delivery

    Please let me know

    0 讨论(0)
提交回复
热议问题