How to set Devise sender name for email

后端 未结 3 827
离开以前
离开以前 2021-01-03 20:39

Although this thread doesn\'t say much, I figured you set the sender name in the Devise intializer like this:

app/config/initializers/devise.rb

Devise.setu         


        
3条回答
  •  悲&欢浪女
    2021-01-03 20:51

    You can also use escaped characters like this:

    config.mailer_sender = "\"Support Desk\" "
    

提交回复
热议问题