I want to send an email to my users who added a hotel or booked a hotel on mysite. It successfully worked in development , but not working in production, i don't know what is the reason, It was not throwing any error at all, Please help me on this issue.Here is my settings code
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'mygmail@gmail.com'
EMAIL_HOST_PASSWORD = 'my_account_password'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'