How to Send Email in Development with Spree

后端 未结 4 1466
抹茶落季
抹茶落季 2020-12-19 18:57

I\'m in the development environment and I want to send out test emails via my console. I got the console going nice, but its not sending.

I go to Spree\'s Mail Metho

4条回答
  •  悲&欢浪女
    2020-12-19 19:48

    Spree commerce use ActionMailer to send emails. If you want send emails in development mode, you should enable delivery_method in config/enviranments/development.rb file.

    Just set this variable config.action_mailer.delivery_method = :smtp

提交回复
热议问题