Jump to content

[Solved] SMTPAuthenticationError using Django


tdevries

Recommended Posts

Hi,

I am trying to set up an automatic email function in Django, I added an email account in plesk and entered the values provided in Django settings.py:

EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST='tdevries.helioho.st'
EMAIL_PORT=465
EMAIL_HOST_USER='test@tdevries.helioho.st'
EMAIL_HOST_PASSWORD=*****
EMAIL_USE_SSL=True

I disabled incoming mail and Plesk login for this mailaddress. I merely want to use it to send a confirmation mail.

I made sure that the passwords match on Plesk and Django, however, I am getting an authentication error. Am I overlooking something?

 

Kind regards,

tdevries

 

Link to comment
Share on other sites

I changed the host, port and ssl settings as you described. I am still getting the authentication error. Do I perhaps have to check the box that says: "Can be used to log in to Plesk  (username: test@tdevries.helioho.st)" to use the smtp mail?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...