Email sender
This commit is contained in:
@@ -15,7 +15,7 @@ SMTP_USERNAME=
|
||||
SMTP_PASSWORD=
|
||||
SMTP_TLS_ENABLED=true
|
||||
|
||||
# Email Configuration
|
||||
# Address that emails are sent from
|
||||
EMAIL_SENDER=
|
||||
|
||||
# Database Configuration
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
class ApplicationMailer < ActionMailer::Base
|
||||
default from: ENV["EMAIL_SENDER"] if ENV["EMAIL_SENDER"].present?
|
||||
layout "mailer"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user