Sidekiq and rails 4 actionmailer never delivers emails

后端 未结 4 721
星月不相逢
星月不相逢 2021-02-05 19:06

I\'ve setup sidekiq in a rails 4 application for sending emails and processing background jobs. I have also devise which I am using devise_async and a typical contact form email

4条回答
  •  既然无缘
    2021-02-05 19:27

    I found it, you have to run sidekiq like this:

    RAILS_ENV=production bundle exec sidekiq -D
    

    to run in production. It's the same issue as the assets precompile.

提交回复
热议问题