Hi

I am getting a SMTPData Error when i try to send message from my django 
application

The Error it gives is this


smtplib.SMTPDataError: (550, b'5.7.60 SMTP; Client does not have 
permissions to send as this sender 
[BN6PO18UB1201.namprd18.prod.outlook.com]')

In My settings.py I have the following

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

EMAIL_HOST = 'smtp.office365.com'
EMAIL_HOST_USER = 'support@******.org'
EMAIL_HOST_PASSWORD = '**********'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'support@******.org'
SERVER_EMAIL = 'support@*******.org'

What could possibly be wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3772af22-43d6-4f4d-89cf-e41426fe9245%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to