I am trying to send mail in my django project. Whenever I try to send email it shows the error like the screenshot. here I generated API in sendgrid and used it in my project. And I also disable two step verification in my email and allow less secure app enable. My setting is :
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'smtp.sendgrid.net' EMAIL_HOST_USER = 'apikey' EMAIL_HOST_PASSWORD = "this is the API_KEY that I generated in sendgrid" EMAIL_PORT = 587 EMAIL_USE_TLS = True 41 Answer
Try to change this setting in Django:
The setting should match your settings in SendGrid