How can I customize Devise to send password reset emails using PostMark mailer

前端 未结 3 882
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-13 04:57

I\'m trying to get all of my system\'s email notifications under one umbrella using PostMarkApp and utilizing the Rails gems (postmark-rails, postmark-gem, and mail). I have

3条回答
  •  心在旅途
    2020-12-13 05:34

    I also had to generate the views for devise and copy the mail templates into the right place for my mailer. Something like this -

    rails generate devise:views
    cp app/views/devise/mailer/* app/views/notification_mailer/
    

提交回复
热议问题