Hi I have been facing this problem for days now. Basically I am trying to send emails. I tried toggling less secured, now am using app passwords. But still does not work. Pls help I ony get this error every timw

39 views
Skip to first unread message

Oluwa Damilola

unread,
Dec 18, 2021, 8:37:00 PM12/18/21
to Django users
Screenshot (50).png

Kasper Laudrup

unread,
Dec 19, 2021, 12:10:36 PM12/19/21
to django...@googlegroups.com
Hi Oluwa,

Before trying to write code for sending emails, try to learn how to
write one yourself.

There's a difference between the "Subject" header and the email body.
Seems like you've written the entire body of the email in the "Subject"
field. Please don't do that.

After learning that, if you want someone to help you, try to provide the
relevant details. No one here would have any idea of the context of your
problem.

Share the relevant code snippets, which SMTP server are you trying to
use and so on.

Doing so will greatly improve the chances of getting any help. With what
you have provided so far, I doubt anyone will be able to help you.

Kind regards,

Kasper Laudrup
OpenPGP_0xE5D9CAC64AAA55EB.asc
OpenPGP_signature

Hussein Naim

unread,
Dec 19, 2021, 8:57:36 PM12/19/21
to Django users

hey , this error can be solved when you turn on less app seucrty and useing app password in google account(gmail)
في الأحد، 19 ديسمبر 2021 في تمام الساعة 4:37:00 ص UTC+3، كتب oluwadam...@gmail.com رسالة نصها:
Screenshot (50).png
Reply all
Reply to author
Forward
0 new messages