Saturday, March 31, 2018

Re: Django Unable to Send Email

Okk. Thanks

I will consult with them

Yingi Kem

On 31 Mar 2018, at 11:52 AM, Jani Tiainen <redetin@gmail.com> wrote:

Hi,

Error means that user which is used as sender of email is actually not permitted to send emails.

You need to check with your IT support is your support@******.org allowed to send emails through your smtp provider.

la 31. maaliskuuta 2018 klo 13.30 yingi keme <yingikeme@gmail.com> kirjoitti:
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAHn91oeD1R3gMxiJhdXUYdMXQ3xupOjD4ML-dOjFio5mew8uxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment