Skip to content

Instantly share code, notes, and snippets.

@seabre
Created March 2, 2012 19:54
Show Gist options
  • Save seabre/1960874 to your computer and use it in GitHub Desktop.
Save seabre/1960874 to your computer and use it in GitHub Desktop.
Mail Configuration for Clients using OpenSRS Mail in Rails
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "mail.our_clients_domain.com",
:port => 25,
:domain => 'our_clients_domain.com',
:user_name => 'whatever_system_user_we_chose@our_clients_domain.com',
:password => 'this_should_be_a_relatively_good_password',
:authentication => 'plain',
#:enable_starttls_auto => false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment