Mailer error missing template

后端 未结 8 1050
谎友^
谎友^ 2021-02-18 21:25

Hello,

I have problem with ActionMailer, when I try to execute action:

rake send_email

I get a error:



        
相关标签:
8条回答
  • 2021-02-18 22:18

    I had a similiar issue. I had missed adding the gem 'haml-rails' in my Gemfile. Check if you are missing the gem.

    0 讨论(0)
  • 2021-02-18 22:21

    I had the same problem, my solution was to delete mailer template file, in your case views/user_mailer/mailer.html.erb and to create it again. It seems that I created file with proper name but with some weird white space somewhere, and ActionMailer didn't recognise it.

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