Using Sendgrid with Django on Heroku (How to find your Sendgrid password on Heroku)
Wed 11 April 2012 | Last updated on Tue 06 December 2022While setting up sentgrid I was searching for my password of sendgrid, but coudn't find it. You can get it in the following way:
heroku config --long
Which will show the parameters:
SENDGRID_PASSWORD, SENDGRID_USERNAME
After you get your username don't forget to add it to django settings:
EMAIL\_HOST = 'smtp.sendgrid.net'
EMAIL\_HOST\_USER = '[email protected]'
EMAIL\_HOST\_PASSWORD = 'thepassyougotbefore'
EMAIL\_PORT = 587
EMAIL\_USE\_TLS = True
Hope it helped somebody