Setting up email with Sendgrid in Heroku for a Django App
问题 I am deploying a Django app on Heroku, and using the Sendgrid addon to send out validation email when a user registers on the site. I followed the instructions here and pasted the following into settings.py : EMAIL_HOST = 'smtp.sendgrid.net' EMAIL_HOST_USER = 'sendgrid_username' EMAIL_HOST_PASSWORD = 'sendgrid_password' EMAIL_PORT = 587 EMAIL_USE_TLS = True However, my app is crashing after registration. What exactly am I supposed to put for EMAIL_HOST_USER and EMAIL_HOST_PASSWORD ? Under the