dhiraj
dhiraj

Reputation: 1

Django: configuring email sending

I am in new Django framework. I want to send an e-mail. This is my setting.py file and I want to know what should I put at EMAIL_HOST, EMAIL_HOST_USER, EMAIL_HOST_PASSWORD fields. Could you explain what is this?

ALLOWED_HOSTS = []
EMAIL_HOST = ''
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 587
EMAIL_USE_TLS = True

Upvotes: 0

Views: 56

Answers (1)

samitnuk
samitnuk

Reputation: 13

Everything depend what email service you want to use. Example for GMAIL you can find here Python Django Gmail SMTP setup

Upvotes: 1

Related Questions