Skip to content

Commit

Permalink
Add sendgrid credentials.
Browse files Browse the repository at this point in the history
  • Loading branch information
JDutil committed Aug 26, 2011
1 parent 3b70683 commit 615643c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/environments/production.rb
Expand Up @@ -4,7 +4,10 @@
ActionMailer::Base.smtp_settings = {
:address => "smtp.sendgrid.net",
:port => "25",
:authentication => :plain
:authentication => :plain,
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:domain => ENV['SENDGRID_DOMAIN']
}
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
Expand Down

0 comments on commit 615643c

Please sign in to comment.