Django SMTP settings

2.1k Views Asked by At

Maybe I wasn't clear enough about the problem, so I will try once more. I need to use SMTP server to send large amount of emails with Django application. Settings that I used to establish connection are:

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.premium-web-domain.com'
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_PORT = 25

And I get error like this: smtplib.SMTPAuthenticationError: (535, '5.7.8 Error: authentication failed:')

Any ideas what might be the problem?

0

There are 0 best solutions below