Smtpsenderrefused At /submit_contact_form/ - 5.5.1 Authentication Required
I'm trying to send submitted form data to an email address but am getting this error. Here's my views.py def contactform(request): contact_form = ContactForm(data=request.POST)
Solution 1:
Adding password in plain text will remove your 5.5.1 Authentication Required Error.
suppose your password is 123weq add it as
EMAIL_HOST_PASSWORD = '123weq'
setting.py
EMAIL_USE_TLS = TrueEMAIL_HOST = 'smtp.gmail.com'EMAIL_PORT = 587EMAIL_HOST_USER = 'zetapsiuchicago@gmail.com'EMAIL_HOST_PASSWORD = 'password of zetapsiuchicago@gmail.com in plain text'
Post a Comment for "Smtpsenderrefused At /submit_contact_form/ - 5.5.1 Authentication Required"