Re: SMTP Authentification error

2022-05-01 Thread Hassan Bashir
Hi Dear, Good Afternoon. Dear these settings are used for only email host and password these variables are not valid for db_user or db_password. see the image below. Also make sure you smtp is enabled in that email which email you are using settings.py ok hope got this ? On Sat, Apr 30, 2022 at 12

Re: SMTP Authentification error

2022-04-29 Thread Hassan Bashir
Hi there, EMAIL_BACKEND = 'django.core.mail.backends.*smtp.EmailBackend'* *EMAIL_HOST = 'smtp.gmail.com '* *EMAIL_PORT = 587* *EMAIL_USE_TLS = True* *EMAIL_HOST_USER = os.environ.get('DB_USER')* *EMAIL_HOST_PASSWORD = os.environ.get('DB_PASSWORD')* in this code you just nee