and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials z21sm7755487lfd.67 - gsmtp')
Traceback (most recent call last):
File "/home/kutman/Рабочий стол/converter/myvenv/lib/python3.6/site-packages/celery/app/trace.py", line 385, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/kutman/Рабочий стол/converter/myvenv/lib/python3.6/site-packages/celery/app/trace.py", line 650, in protected_call
return self.run(*args, **kwargs)
File "/home/kutman/Рабочий стол/converter/converter/tasks.py", line 29, in get_mp3
send_mail('Ссылка на скачивание файла', download_link, settings.EMAIL_HOST_USER, [email], fail_silently=False,)
File "/home/kutman/Рабочий стол/converter/myvenv/lib/python3.6/site-packages/django/core/mail/__init__.py", line 60, in send_mail
return mail.send()
File "/home/kutman/Рабочий стол/converter/myvenv/lib/python3.6/site-packages/django/core/mail/message.py", line 276, in send
return self.get_connection(fail_silently).send_messages([self])
File "/home/kutman/Рабочий стол/converter/myvenv/lib/python3.6/site-packages/django/core/mail/backends/smtp.py", line 102, in send_messages
new_conn_created = self.open()
File "/home/kutman/Рабочий стол/converter/myvenv/lib/python3.6/site-packages/django/core/mail/backends/smtp.py", line 69, in open
self.connection.login(self.username, self.password)
File "/usr/lib/python3.6/smtplib.py", line 730, in login
raise last_exception
File "/usr/lib/python3.6/smtplib.py", line 721, in login
initial_response_ok=initial_response_ok)
File "/usr/lib/python3.6/smtplib.py", line 642, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials z21sm7755487lfd.67 - gsmtp')
Чел, почитай закреп, пожалуйста
ну начинай читать прям с первой строки.
читай
Обсуждают сегодня