Hi, I think you have to generate an app password from Gmail and use it instead of your password. Refer to this link. https://support.google.com/mail/answer/185833?hl=en All the best
On Mon, Apr 5, 2021 at 7:28 PM Kissanth D <kissanthoffic...@gmail.com> wrote: > My project description is using django to login via imap server and see > the unread email in template method but Imeet the error for authentication > faild but i enabled the gmail less secure app permission and gmail setting > imap enable but error again > [image: Capture.PNG] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/21a06439-86d7-47d9-9a57-437703f4a654n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/21a06439-86d7-47d9-9a57-437703f4a654n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Thanks and Regards J. Ranga Bharath cell: 9110334114 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK5m317onw_dYMxvFybtgyfkkMvvaQ_5pKCkQyePEX-VcXGnkA%40mail.gmail.com.