Skip to content

Instantly share code, notes, and snippets.

@bogdanRada
Created December 14, 2012 14:05
Show Gist options
  • Save bogdanRada/4285686 to your computer and use it in GitHub Desktop.
Save bogdanRada/4285686 to your computer and use it in GitHub Desktop.
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => "gmail.com",
:user_name => "user_name", #Your user name
:password => 'pass', # Your password
:authentication => "plain",
:enable_starttls_auto => true
}
ActionMailer::Base.default_url_options[:host] = "localhost:3000"
ActionMailer::Base.default_url_options[:only_path] = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment