Skip to content

Commit 155067a

Browse files
vvavrychukgitster
authored andcommitted
git-send-email.txt: mention less secure app access with Gmail
Google may have changed Gmail security and now less secure app access needs to be explicitly enabled if two-factor authentication is not in place, otherwise send-email fails with: 5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials Document steps required to make this work. Signed-off-by: Vasyl Vavrychuk <[email protected]> Signed-off-by: Junio C Hamano <[email protected]> [dl: Clean up commit message and incorporate suggestions into patch.] Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 47ae905 commit 155067a

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,10 +494,14 @@ 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 have multi-factor authentication set up on your Gmail account, you will
498498
need to generate an app-specific password for use with 'git send-email'. Visit
499499
https://security.google.com/settings/security/apppasswords to create it.
500500

501+
If you do not have multi-factor authentication set up on your Gmail account,
502+
you will need to allow less secure app access. Visit
503+
https://myaccount.google.com/lesssecureapps to enable it.
504+
501505
Once your commits are ready to be sent to the mailing list, run the
502506
following commands:
503507

0 commit comments

Comments
 (0)