Skip to content

Commit c515a98

Browse files
committed
update smtp again
1 parent c79eed2 commit c515a98

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/mailers/application_mailer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class ApplicationMailer < ActionMailer::Base
2-
default from: 'notifications@edit.tosdr.org'
2+
default from: 'notifications@mail.tosdr.org'
33
layout 'mailer'
44
end

config/environments/production.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
config.action_mailer.smtp_settings = {
1313
:user_name => ENV['SMTP_USERNAME'],
1414
:password => ENV['SMTP_PASSWORD'],
15-
:domain => 'edit.tosdr.org',
16-
:address => 'smtp-relay.brevo.com',
15+
:domain => 'mail.tosdr.org',
16+
:address => 'live.smtp.mailtrap.io',
1717
:port => 587,
1818
:authentication => :plain,
1919
:enable_starttls_auto => true

config/initializers/devise.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Configure the e-mail address which will be shown in Devise::Mailer,
1515
# note that it will be overwritten if you use your own mailer class
1616
# with default "from" parameter.
17-
config.mailer_sender = 'notifications@edit.tosdr.org'
17+
config.mailer_sender = 'notifications@mail.tosdr.org'
1818

1919
# Configure the class responsible to send e-mails.
2020
config.mailer = 'Devise::Mailer'

0 commit comments

Comments
 (0)