actionmailer “from” setting

前端 未结 2 739
春和景丽
春和景丽 2020-12-11 10:05

I am using ActionMailer and in my mailer model, I have a from set like this

default :from => \"from@example.org\"

In my environment.rb,

2条回答
  •  爱一瞬间的悲伤
    2020-12-11 10:33

    It appears that now it's possible to send emails with a different sender through gmail's SMTP.

    I've listed my way to do it here:

    Send an email through gmail but configure a different email address

提交回复
热议问题