Skip to content

Instantly share code, notes, and snippets.

@jayapal
Created January 8, 2014 05:37
Show Gist options
  • Save jayapal/8312324 to your computer and use it in GitHub Desktop.
Save jayapal/8312324 to your computer and use it in GitHub Desktop.
/home/git/gitlab/config/environments/production.rb
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true
config.action_mailer.smtp_settings = {
:address => 'smtp.gmail.comi',
:port => 587,
:domain => 'gmail.com',
:authentication => 'plain',
:user_name => '[email protected]',
:password => 'password',
:enable_starttls_auto => true
}
config.action_mailer.sendmail_settings = {
#:location => '/usr/sbin/sendmail',
:arguments => '-i'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment