-
Notifications
You must be signed in to change notification settings - Fork 17.5k
(535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials gj6sm7456452pjb.10 - gsmtp') #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Enable less secure app login for your google account, by default google doesn't allow you to login to smtp server. |
Thanks man |
Show This Error: EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' every thing is complete but email not send....!!! |
@edward795 |
@edward795 |
@dipakbera |
<!--
/* Font Definitions */
@font-face
{font-family:Vrinda;
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
-->Can you show your error? Sent from Mail for Windows 10 From: Trevor Y. H. HoSent: 08 June 2021 18:10To: CoreyMSchafer/code_snippetsCc: dipakbera; MentionSubject: Re: [CoreyMSchafer/code_snippets] (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials gj6sm7456452pjb.10 - gsmtp') ***@***.***Hello, would you mind sharing what solved your issue in the end? In our case we also enabled less secure app but the same error shows up. Thanks!—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks for getting back to me @dipakbera . |
From which platform, you are connecting me.Is it github or any else?welcome
you by the way.
…On Wed, Jun 9, 2021, 4:01 PM Trevor Y. H. Ho ***@***.***> wrote:
Thanks for getting back to me @dipakbera <https://github.com/dipakbera> .
We solved the problem eventually by using a Google generated App Password.
It looks like using the login pw was the problem for us before.
https://support.google.com/accounts/answer/185833?hl=en
2FA is still needed to generate this App pw but miraculously it solved the
problem.
Thank you again!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQIITIKSWPKL4PAB5R5HCB3TR47HLANCNFSM4RTP26EQ>
.
|
Hello guys, Here's how we are able to solve this problem: Django SMPT Error answer:Steps:1. Create 2-Step Authenticationhttps://support.google.com/accounts/answer/185839 2. Create App Passwordhttps://support.google.com/accounts/answer/185833 3. Use the APP password as your EMAIL_HOST_PASSWORD in your settings fileIt should work after that 👍 |
how to show this using the alert box in GUI tkinter? |
|
Not working for me dear |
enable access to the less secure app is ON, still seeing the same error? does anyone got solution. |
From google.
|
After turning Less Secure App to ON, generate an app password and you put
it your django project setting
EMAIL_HOST_USER = "your email"
DEFAULT_FROM_EMAIL = 'your default email'
SERVER_EMAIL = 'your server email
EMAIL_HOST_PASSWORD = "your generated app password"
…On Sun, May 15, 2022 at 4:55 AM pratikgho ***@***.***> wrote:
enable access to the less secure app is ON, still seeing the same error?
does anyone got solution.
—
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUMSFJHQE3ESFRE5W6T27UTVKBYTBANCNFSM4RTP26EQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
What's the problem here??
…On Mon, Jun 6, 2022 at 2:17 PM kaudit ***@***.***> wrote:
*From google.*
*To help keep your account secure, from May 30, 2022, Google no longer
supports the use of third-party apps or devices which ask you to sign in to
your Google Account using only your username and password*.
https://support.google.com/accounts/answer/6010255?hl=en <http://url>
—
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUMSFJF6SYEZX54SRFZKU2DVNX243ANCNFSM4RTP26EQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I tried to find that section of enabling less secure apps on google account, but it was available, This is the message I am getting from less secure app of my newly created account
From Google, the say they longer supports the use of third-party apps or devices which ask you to sign in to |
Ok, I will check.
…On Tue, Jun 7, 2022 at 1:12 PM kaudit ***@***.***> wrote:
I tried to find that section of enabling less secure apps on google
account, but it was available, This is the message I am getting from less
secure app of my newly created account
This setting is no longer available
From Google, the say they longer supports the use of third-party apps or
devices which ask you to sign in to
your Google Account using only your username and password
—
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUMSFJGBQ33SX6NO3PGFMO3VN44EJANCNFSM4RTP26EQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
On Tue, Jun 7, 2022 at 2:44 PM joachim nedaouka ***@***.***>
wrote:
… Ok, I will check.
On Tue, Jun 7, 2022 at 1:12 PM kaudit ***@***.***> wrote:
> I tried to find that section of enabling less secure apps on google
> account, but it was available, This is the message I am getting from less
> secure app of my newly created account
>
> This setting is no longer available
>
> From Google, the say they longer supports the use of third-party apps or
> devices which ask you to sign in to
> your Google Account using only your username and password
>
> —
> Reply to this email directly, view it on GitHub
> <#135 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AUMSFJGBQ33SX6NO3PGFMO3VN44EJANCNFSM4RTP26EQ>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Working Sent from my Huawei Mobile-------- Original Message --------Subject: Re: [CoreyMSchafer/code_snippets] (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials gj6sm7456452pjb.10 - gsmtp') (#135)From: Weslley Pablo To: CoreyMSchafer/code_snippets CC: Joachim nedaouka ,Comment
FAZ ESSE TUTORIAL
https://www.youtube.com/watch?v=uVDq4VOBMNM
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#135 (comment)",
"url": "#135 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
Hi, it seems google have disabled the toggle. |
Hello!! Let me check itSent from my Huawei Mobile-------- Original Message --------Subject: Re: [CoreyMSchafer/code_snippets] (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials gj6sm7456452pjb.10 - gsmtp') (#135)From: osinaike gbemileke To: CoreyMSchafer/code_snippets CC: Joachim nedaouka ,Comment
Hi, it seems google have disabled the toggle.
I am unable to turn off less secure apps from my end
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#135 (comment)",
"url": "#135 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
has anyone managed to come up with solution regarding this isssue. |
Hello Guy !! Try to create a new email address just for test and check if LESS SECURE settings are still disabled. Let me know if done. Sent from my Huawei Mobile-------- Original Message --------Subject: Re: [CoreyMSchafer/code_snippets] (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials gj6sm7456452pjb.10 - gsmtp') (#135)From: osinaike gbemileke To: CoreyMSchafer/code_snippets CC: Joachim nedaouka ,Comment
Hi, it seems google have disabled the toggle.
I am unable to turn off less secure apps from my end
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#135 (comment)",
"url": "#135 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
|
For me to that issue I just turned OFF LESS SECURE in my Google account settings and I generated an app password. I used that password in Django SMTP settings Sent from my Huawei Mobile-------- Original Message --------Subject: Re: [CoreyMSchafer/code_snippets] (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials gj6sm7456452pjb.10 - gsmtp') (#135)From: Nadia Azri To: CoreyMSchafer/code_snippets CC: Joachim nedaouka ,Comment
has anyone managed to come up with solution regarding this isssue.
waiting for the solution...
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#135 (comment)",
"url": "#135 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
I have manged to fix my issue as Google have disabled the less secure apps recently. All I had to do was make my google account 2 factor authentication, then generate a new app password to use within the settings.py of django app for email password. Hope it helps |
Test enabling “Access for less secure apps” (which just means the
client/app doesn’t use OAuth 2.0 - https://oauth.net/2/) for the account
you are trying to access. It's found in the account settings on the
Security tab, Account permissions (not available to accounts with 2-step
verification enabled):
https://support.google.com/accounts/answer/6010255?hl=en
disable 2-step verification if enabled.
…On Mon, Jun 13, 2022 at 4:57 PM Mahbub Rahman ***@***.***> wrote:
has anyone managed to come up with solution regarding this isssue.
waiting for the solution...
I have manged to fix my issue as Google have disabled the less secure apps
recently. All I had to do was make my google account 2 factor
authentication, then generate a new app password to use within the
settings.py of django app for email password. Hope it helps
—
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANZL6IC26EM2V35UVCGGTYDVO5LANANCNFSM4RTP26EQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
https://support.google.com/accounts/answer/6010255?hl=en
On Mon, Jun 13, 2022 at 4:07 PM T H E D A R K A G E ***@***.***>
wrote:
… Test enabling “Access for less secure apps” (which just means the
client/app doesn’t use OAuth 2.0 - https://oauth.net/2/) for the account
you are trying to access. It's found in the account settings on the
Security tab, Account permissions (not available to accounts with 2-step
verification enabled):
https://support.google.com/accounts/answer/6010255?hl=en
disable 2-step verification if enabled.
On Mon, Jun 13, 2022 at 4:57 PM Mahbub Rahman ***@***.***>
wrote:
> has anyone managed to come up with solution regarding this isssue.
> waiting for the solution...
>
> I have manged to fix my issue as Google have disabled the less secure
> apps recently. All I had to do was make my google account 2 factor
> authentication, then generate a new app password to use within the
> settings.py of django app for email password. Hope it helps
>
> —
> Reply to this email directly, view it on GitHub
> <#135 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ANZL6IC26EM2V35UVCGGTYDVO5LANANCNFSM4RTP26EQ>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
How did you generate a new password? I am trying to solve this problem, I have now the authentication in 2 factors, but I got block. And I need to solve faster this problem for a project that I need to present in few days |
Follow this article: Create & use App Passwords
<https://support.google.com/accounts/answer/185833?hl=en>
…On Wed, Jun 15, 2022 at 10:08 PM Andreea David ***@***.***> wrote:
has anyone managed to come up with solution regarding this isssue.
waiting for the solution...
I have manged to fix my issue as Google have disabled the less secure apps
recently. All I had to do was make my google account 2 factor
authentication, then generate a new app password to use within the
settings.py of django app for email password. Hope it helps
How did you generate a new password?
I am trying to solve this problem, I have now the authentication in 2
factors, but I got block. And I need to solve faster this problem for a
project that I need to present in few days
—
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANZL6IH2YGWCZ6G3RBMPLS3VPJA4ZANCNFSM4RTP26EQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
… On Wed, Jun 15, 2022 at 10:08 PM Andreea David ***@***.***> wrote:
has anyone managed to come up with solution regarding this isssue.
waiting for the solution...
I have manged to fix my issue as Google have disabled the less secure apps
recently. All I had to do was make my google account 2 factor
authentication, then generate a new app password to use within the
settings.py of django app for email password. Hope it helps
How did you generate a new password?
I am trying to solve this problem, I have now the authentication in 2
factors, but I got block. And I need to solve faster this problem for a
project that I need to present in few days
—
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANZL6IH2YGWCZ6G3RBMPLS3VPJA4ZANCNFSM4RTP26EQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Go to your google account settings. Go to Security. then Turn on 2-step verification. Then App Password ta will be enable. From App Password you can generate password. use this password for authentication purposes |
I got a message in the Security section that To protect your account, apps and devices that use less secure sign-in technology are blocked. To keep your account secure, Google will automatically turn this setting OFF if it’s not being used.] |
Now you cannot turn on less secure app as the deadline was 30th May 2022 |
I am using flask and same issue is happening for me . what to do? |
Hey, community, I did as follows and read everyone's comments in this thread and I keep getting the same kickback message. |
|
I did go into my Google Mail Settings and Turned on the 2 Step Verification and created the App Password. I put that password into my Settings.py and I still get: SMTPAuthenticationError at /register/ The Code Reads as follows: Settings.py EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' The code in Signals.py from django.db.models.signals import post_save, post_delete from django.contrib.auth.models import User from django.core.mail import send_mail @receiver(post_save, sender=Profile)def createProfile(sender, instance, created, **kwargs):
|
it doesnt work anymore |
YesI just turned ON my Google account LESS SECURE security settings and generate an app password. Then I was able to fix the problem Sent from my Huawei Mobile-------- Original Message --------Subject: Re: [CoreyMSchafer/code_snippets] (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials gj6sm7456452pjb.10 - gsmtp') (#135)From: Mahbub Rahman To: CoreyMSchafer/code_snippets CC: Joachim nedaouka ,Comment
has anyone managed to come up with solution regarding this isssue.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#135 (comment)",
"url": "#135 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
i am middle of the project and i was connecting django with gmail and i got this type of error.....
settings.py code for :
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = os.environ.get('EMAIL_USER')
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_PASS')
EMAIL_PORT = 587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
what should is in this !!!?
AND AS I AM PUTTING ANOTHER GMAIL ID IT SHOW THAT MAIL IS SENT BUT I CAN'T SEE THAT MAIL ANYWHERE???????????????????
The text was updated successfully, but these errors were encountered: