server.starttls() error while sending Emails

19 views
Skip to first unread message

Akorede Habeebullah

unread,
Feb 6, 2021, 5:50:23 PM2/6/21
to Django users
Hi there,
I'm trying to send emails with python using smtp.gmail.com but I've been getting this error:
Screenshot from 2021-02-06 23-46-55.png

Here is a screenshot of my code:
Screenshot from 2021-02-06 23-45-01.png

I've tried unlocking captcha for the Gmail account to reduce the firewalls but its still not working. I'll be glad to get help from you guys.

Best Regards.
Reply all
Reply to author
Forward
0 new messages