Skip to content

Commit 2bcfd14

Browse files
vvavrychukgitster
authored andcommitted
Documentation/git-send-email.txt: Mention less secure app access might need to enable.
Looks like Google changed Gmail security and now less secure app access needs to be explicitly enabled if 2-factor authentication is not in place, otherwise send-mail fails with: 5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials v5sm13756502ede.13 - gsmtp Signed-off-by: Vasyl Vavrychuk <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 47ae905 commit 2bcfd14

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/git-send-email.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,11 @@ edit ~/.gitconfig to specify your account settings:
494494
smtpServerPort = 587
495495
----
496496

497-
If you have multifactor authentication setup on your gmail account, you will
497+
If you do not have multi-factor authentication set up on your Gmail account, you
498+
will need to allow less secure app access. Visit
499+
https://myaccount.google.com/lesssecureapps to enable it.
500+
501+
If you have multi-factor authentication set up on your Gmail account, you will
498502
need to generate an app-specific password for use with 'git send-email'. Visit
499503
https://security.google.com/settings/security/apppasswords to create it.
500504

0 commit comments

Comments
 (0)