Mailer error missing template

后端 未结 8 1024
谎友^
谎友^ 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: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.

提交回复
热议问题