]> git.openstreetmap.org Git - rails.git/blob - config/initializers/action_mailer.rb
Merge pull request #2969 from tuckerrc/diary-updated-date
[rails.git] / config / initializers / action_mailer.rb
1 # Configure ActionMailer SMTP settings
2 ActionMailer::Base.smtp_settings = {
3   :address => Settings.smtp_address,
4   :port => Settings.smtp_port,
5   :domain => Settings.smtp_domain,
6   :enable_starttls_auto => Settings.smtp_enable_starttls_auto,
7   :authentication => Settings.smtp_authentication,
8   :user_name => Settings.smtp_user_name,
9   :password => Settings.smtp_password
10 }
11
12 # Set the host and protocol for all ActionMailer URLs
13 ActionMailer::Base.default_url_options = {
14   :host => Settings.server_url,
15   :protocol => Settings.server_protocol
16 }