Anshu Pal
Jun 24, 2021

In your settings.py add

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

EMAIL_HOST = 'smtp.gmail.com' # mail service smtp

EMAIL_HOST_USER = 'YOUR EMAIL' # email id

EMAIL_HOST_PASSWORD = 'YOUR PASSWORD' # password

EMAIL_PORT = 587

EMAIL_USE_TLS = True

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Anshu Pal
Anshu Pal

Written by Anshu Pal

I’m a web developer. I spend my whole day, practically every day, experimenting with HTML, CSS, and JavaScript.

No responses yet

Write a response