Skip to content

Instantly share code, notes, and snippets.

@eduzera
Created March 9, 2012 13:36
Show Gist options
  • Save eduzera/2006521 to your computer and use it in GitHub Desktop.
Save eduzera/2006521 to your computer and use it in GitHub Desktop.
#config/initializers/mail_setup.rb
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => "idea4b.com.br",
:user_name => "contato@idea4b.com.br",
:password => "loldesign2011",
:authentication => "plain",
:enable_starttls_auto => true
}
ActionMailer::Base.default_url_options[:host] = "http://www.idea4b.com.br"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment