Skip to content

Instantly share code, notes, and snippets.

@mdoyle13
Created November 16, 2012 16:10
Show Gist options
  • Save mdoyle13/4088565 to your computer and use it in GitHub Desktop.
Save mdoyle13/4088565 to your computer and use it in GitHub Desktop.
Rails 3.1 ActionMailer Config for Godaddy Hosted Exchange
#include the ntlm gem in your Gemfile
gem 'ruby-ntlm'
#add this to your environment config.
ActionMailer::Base.smtp_settings = {
:address => "smtp.ex3.secureserver.net",
:domain => "secureserver.net",
:port => 25,
:user_name => "email@domain.com",
:password => "password",
:authentication => :ntlm,
:openssl_verify_mode => 'none'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment