config: use alternate delivery methods to configure ActionMailer
Previously `SENDINBLUE_BALANCING` was used only when `SENDINBLUE_ENABLED` was *disabled* (otherwise only SendInBlue was ever used). This commit: - Ensure that `SENDINBLUE_BALANCING` is used only when SendInBlue is *enabled* (which is more intuitive). - Make it easier to add other delivery methods.
This commit is contained in:
parent
d3603cf3c5
commit
04cfc8ed9d
4 changed files with 43 additions and 24 deletions
4
app/lib/mailtrap/smtp.rb
Normal file
4
app/lib/mailtrap/smtp.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
module Mailtrap
|
||||
class Smtp < ::Mail::SMTP
|
||||
end
|
||||
end
|
4
app/lib/sendinblue/smtp.rb
Normal file
4
app/lib/sendinblue/smtp.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
module Sendinblue
|
||||
class Smtp < ::Mail::SMTP
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue