1 # Configure ActionMailer SMTP settings
2 ActionMailer::Base.smtp_settings = {
3 :address => "localhost",
5 :domain => "localhost",
6 :enable_starttls_auto => false
9 # Set the host and protocol for all action mailer urls
10 ActionMailer::Base.default_url_options = { :host => SERVER_URL, :protocol => SERVER_PROTOCOL }