Reputation: 12495
On this post here: ROR send email heroku, gmail it there is information on how to set up gmail with a heroku app. However, storing your gmail password as a plain text (see the question) is, I think, insecure. Does anyone know if one can use gmail with a heroku app with a FIX for this security?
Upvotes: 4
Views: 1000
Reputation: 2961
Store it in an environment varaible with heroku config:add GMAIL_USER=name
and GMAIL_PASSWORD=password, then pull them out with ENV['GMAIL_USER'] etc.
http://devcenter.heroku.com/articles/config-vars
Upvotes: 6