smtp.yml 1.1 KB

1234567891011121314151617181920212223242526
  1. development:
  2. address: <%= ENV['SMTP_SERVER'] || "smtp.gmail.com" %>
  3. port: <%= ENV['SMTP_PORT'] || 587 %>
  4. domain: <%= ENV['SMTP_DOMAIN'] %>
  5. authentication: <%= ENV['SMTP_AUTHENTICATION'] || "plain" %>
  6. enable_starttls_auto: <%= ENV['SMTP_ENABLE_STARTTLS_AUTO'] == 'true' ? true : false %>
  7. user_name: <%= ENV['SMTP_USER_NAME'] || "" %>
  8. password: <%= ENV['SMTP_PASSWORD'] || "" %>
  9. staging:
  10. address: <%= ENV['SMTP_SERVER'] || "smtp.gmail.com" %>
  11. port: <%= ENV['SMTP_PORT'] || 587 %>
  12. domain: <%= ENV['SMTP_DOMAIN'] %>
  13. authentication: <%= ENV['SMTP_AUTHENTICATION'] || "plain" %>
  14. enable_starttls_auto: <%= ENV['SMTP_ENABLE_STARTTLS_AUTO'] == 'true' ? true : false %>
  15. user_name: <%= ENV['SMTP_USER_NAME'] || "" %>
  16. password: <%= ENV['SMTP_PASSWORD'] || "" %>
  17. production:
  18. address: <%= ENV['SMTP_SERVER'] || "smtp.gmail.com" %>
  19. port: <%= ENV['SMTP_PORT'] || 587 %>
  20. domain: <%= ENV['SMTP_DOMAIN'] %>
  21. authentication: <%= ENV['SMTP_AUTHENTICATION'] || "plain" %>
  22. enable_starttls_auto: <%= ENV['SMTP_ENABLE_STARTTLS_AUTO'] == 'true' ? true : false %>
  23. user_name: <%= ENV['SMTP_USER_NAME'] || "" %>
  24. password: <%= ENV['SMTP_PASSWORD'] || "" %>