Mailer error missing template

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

    Could you publish a minimalist Github repository reproducing your error?

    You may try to generate your mailer in order to check you are not forgetting something:

    bundle exec rails generate mailer mailer_classname mailer_viewname

    In your case:

    bundle exec rails generate mailer user_mailer mailer

提交回复
热议问题