fix(mailtrap): update to 2024 config

This commit is contained in:
Colin Darie 2024-03-28 14:34:47 +01:00
parent 36fc535386
commit 32bcf5b75d
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -8,10 +8,10 @@ if ENV.fetch('MAILTRAP_ENABLED') == 'enabled'
ActionMailer::Base.mailtrap_settings = {
user_name: Rails.application.secrets.mailtrap[:username],
password: Rails.application.secrets.mailtrap[:password],
address: 'smtp.mailtrap.io',
domain: 'smtp.mailtrap.io',
address: 'sandbox.smtp.mailtrap.io',
domain: 'sandbox.smtp.mailtrap.io',
port: '2525',
authentication: :cram_md5
authentication: :login
}
end
end