mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 21:29:38 +02:00
Email sender
This commit is contained in:
parent
0d7164af9b
commit
0afab5296c
2 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ SMTP_USERNAME=
|
||||||
SMTP_PASSWORD=
|
SMTP_PASSWORD=
|
||||||
SMTP_TLS_ENABLED=true
|
SMTP_TLS_ENABLED=true
|
||||||
|
|
||||||
# Email Configuration
|
# Address that emails are sent from
|
||||||
EMAIL_SENDER=
|
EMAIL_SENDER=
|
||||||
|
|
||||||
# Database Configuration
|
# Database Configuration
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
class ApplicationMailer < ActionMailer::Base
|
class ApplicationMailer < ActionMailer::Base
|
||||||
|
default from: ENV["EMAIL_SENDER"] if ENV["EMAIL_SENDER"].present?
|
||||||
layout "mailer"
|
layout "mailer"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue