SMTP data error.550 b the form address doesn't match a verified sender identity

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 
4

1 Answer

Try to change this setting in Django:

The setting should match your settings in SendGrid

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like