I've added a functionality to my django application, to send gmail(google mail) to user who forgot their password, But, it only sends email to the user I've added in the settings.py file of my project.Can you resolve this problem to mail to all users who request to reset their password? This is the variables, I added in the settings.py file.
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('EMAIL_USER')
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_PASS')
DEFAULT_FROM_EMAIL = os.environ.get('EMAIL_USER')