demarches-normaliennes/config/initializers/mailjet.rb

10 lines
280 B
Ruby
Raw Normal View History

ActiveSupport.on_load(:action_mailer) do
require 'mailjet'
Mailjet.configure do |config|
config.api_key = Rails.application.secrets.mailjet[:api_key]
config.secret_key = Rails.application.secrets.mailjet[:secret_key]
config.default_from = CONTACT_EMAIL
end
2018-03-13 18:16:41 +01:00
end