Skip to content

Instantly share code, notes, and snippets.

@adamdilek
Created April 18, 2012 11:31
Show Gist options
  • Select an option

  • Save adamdilek/2413010 to your computer and use it in GitHub Desktop.

Select an option

Save adamdilek/2413010 to your computer and use it in GitHub Desktop.
mail setings
#Mails Settings
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => 'gmail.com',
:user_name => 'username',
:password => 'password',
:authentication => 'plain',
:enable_starttls_auto => true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment