Email setup #571
-
I noticed that email sent with the Pay Gem don't have a from address set by default, which makes sense. How would the gem know what email to send from. I'd like to submit a PR to clear up the documentation, but wanted clarify first that it is required to create Pay.setup do |config|
config.support_email = "[email protected]"
end Are other variables required to be set? I see that business name and address are in the mailer, but assume they would just not render anything if blank. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
https://github.com/pay-rails/pay/blob/master/app/mailers/pay/application_mailer.rb#L3 |
Beta Was this translation helpful? Give feedback.
https://github.com/pay-rails/pay/blob/master/app/mailers/pay/application_mailer.rb#L3