Microservice to handle the Contact form on placebazaar.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

environment.rb 390B

123456789101112131415
  1. # frozen_string_literal: true
  2. Contact.configure do |config|
  3. config.mail_to = ENV['MAIL_TO']
  4. config.mail_from = 'contact@placebazaar.org'
  5. config.smtp_options = {
  6. address: 'fairfax.webschuur.com',
  7. port: '587',
  8. enable_starttls_auto: true,
  9. user_name: ENV['SMTP_USER'],
  10. password: ENV['SMTP_PASSWORD'],
  11. authentication: :plain,
  12. domain: 'placebazaar.org'
  13. }
  14. end