Spree Mail Method is not working?

和自甴很熟 提交于 2019-12-02 06:39:06
Rajarshi Das

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!