Skip to content

Commit 9827e07

Browse files
committed
Merge branch 'ag/doc-sendmail-gmail-example-update'
Doc update. * ag/doc-sendmail-gmail-example-update: docs: update sendmail docs to use more secure SMTP server for Gmail
2 parents c6fa656 + fafc9b0 commit 9827e07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/git-send-email.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,10 @@ edit `~/.gitconfig` to specify your account settings:
557557

558558
----
559559
[sendemail]
560-
smtpEncryption = tls
560+
smtpEncryption = ssl
561561
smtpServer = smtp.gmail.com
562562
smtpUser = [email protected]
563-
smtpServerPort = 587
563+
smtpServerPort = 465
564564
----
565565

566566
Gmail does not allow using your regular password for `git send-email`.
@@ -578,10 +578,10 @@ if you want to use `OAUTHBEARER`, edit your `~/.gitconfig` file and add
578578

579579
----
580580
[sendemail]
581-
smtpEncryption = tls
581+
smtpEncryption = ssl
582582
smtpServer = smtp.gmail.com
583583
smtpUser = [email protected]
584-
smtpServerPort = 587
584+
smtpServerPort = 465
585585
smtpAuth = OAUTHBEARER
586586
----
587587

0 commit comments

Comments
 (0)