sendgrid django smtp

Solutions on MaxInterview for sendgrid django smtp by the best coders in the world

showing results for - "sendgrid django smtp"
Damián
28 Oct 2019
1SENDGRID_API_KEY = os.getenv('SENDGRID_API_KEY') # environment variable
2
3EMAIL_HOST = 'smtp.sendgrid.net'
4EMAIL_HOST_USER = 'apikey' # value of your apikey
5EMAIL_HOST_PASSWORD = SENDGRID_API_KEY
6EMAIL_PORT = 587
7EMAIL_USE_TLS = True