Skip to content

Commit

Permalink
Heroku+sendgrid+pony config apparently necessary on the cedar stack, …
Browse files Browse the repository at this point in the history
…maybe this is why mail isn't working
  • Loading branch information
carols10cents committed Dec 12, 2011
1 parent 9ed99b1 commit ceb4097
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/initializers/sendgrid_pony.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Pony.options = {
:via => :smtp,
:via_options => {
:address => 'smtp.sendgrid.net',
:port => '587',
:domain => 'heroku.com',
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:authentication => :plain,
:enable_starttls_auto => true
}
}

0 comments on commit ceb4097

Please sign in to comment.