1 # Configure queue to use for ActionMailer deliveries
2 ActionMailer::Base.deliver_later_queue_name = :mailers
4 # Configure ActionMailer SMTP settings
5 ActionMailer::Base.smtp_settings = {
6 :address => Settings.smtp_address,
7 :port => Settings.smtp_port,
8 :domain => Settings.smtp_domain,
9 :enable_starttls_auto => Settings.smtp_enable_starttls_auto,
10 :openssl_verify_mode => Settings.smtp_tls_verify_mode,
11 :authentication => Settings.smtp_authentication,
12 :user_name => Settings.smtp_user_name,
13 :password => Settings.smtp_password
16 # Set the host and protocol for all ActionMailer URLs
17 ActionMailer::Base.default_url_options = {
18 :host => Settings.server_url,
19 :protocol => Settings.server_protocol