I meant Gmail api.I was also stuck with Gmail.Also may 31 onwards Gmail
will block all third party apps which simply login with email and password.

On Thu, 28 Apr 2022, 11:02 Vishesh Mangla, <manglavishes...@gmail.com>
wrote:

>
> On Thu, 28 Apr 2022, 11:02 Vishesh Mangla, <manglavishes...@gmail.com>
> wrote:
>
>> Use Google api.
>>
>> On Thu, 28 Apr 2022, 10:29 'Delvin Alexander' via Django users, <
>> django-users@googlegroups.com> wrote:
>>
>>> okay i did both but now i am getting this error. Any clue on why?
>>>
>>> *SMTPSenderRefused at /password-reset/*
>>>
>>>
>>> *(530, b'5.7.0 Authentication Required. Learn more at\n5.7.0
>>> https://support.google.com/mail/?p=WantAuthError
>>> <https://support.google.com/mail/?p=WantAuthError>
>>> w137-20020a62828f000000b0050d2f9c3409sm14545822pfd.199 - gsmtp',
>>> 'webmaster@localhost')*
>>> On Wednesday, April 27, 2022 at 12:27:02 AM UTC-7 dashlaksh...@gmail.com
>>> wrote:
>>>
>>>> Check whether you have turned on less secure apps or not.
>>>>
>>>> On Wed, Apr 27, 2022, 11:07 'Delvin Alexander' via Django users <
>>>> django...@googlegroups.com> wrote:
>>>>
>>>>> Hello everyone,
>>>>>
>>>>> May you please assist in informing me on what i need to do to resolve
>>>>> this issue.
>>>>>
>>>>> - *SMTPAuthenticationError at /password-reset/*
>>>>> *- (535, b'5.7.8 Username and Password not accepted. Learn more
>>>>> at\n5.7.8 https://support.google.com/mail/?p=BadCredentials
>>>>> <https://support.google.com/mail/?p=BadCredentials>
>>>>> j64-20020a62c543000000b0050d260c0ea8sm13366402pfg.110 - gsmtp')*
>>>>>
>>>>>
>>>>> I included the 16 character code to my environment variable and called
>>>>> it in my settings.pymfile,  but still the error occurs. Also here is my
>>>>> settings.py file:
>>>>>
>>>>> - *EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'*
>>>>> *EMAIL_HOST = 'smtp.gmail.com <http://smtp.gmail.com>'*
>>>>> *EMAIL_PORT = 587*
>>>>> *EMAIL_USE_TLS = True*
>>>>> *EMAIL_HOST_USER = os.environ.get('DB_USER')*
>>>>> *EMAIL_HOST_PASSWORD = os.environ.get('DB_PASSWORD')*
>>>>>
>>>>> --
>>>>>
>>>> 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...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/c18935a8-43bf-4a15-a5ba-95209009498dn%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/django-users/c18935a8-43bf-4a15-a5ba-95209009498dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> 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/a6f92133-32db-4f4a-ae46-bb1f7644b431n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/a6f92133-32db-4f4a-ae46-bb1f7644b431n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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/CACaE8x6OC7Uquk%2BYMoAWvwcUTRAgQnHPG513Ao%3DgzE4V6RPnfw%40mail.gmail.com.

Reply via email to