Skip to content

Commit 2a33cd6

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

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
@@ -521,10 +521,10 @@ edit `~/.gitconfig` to specify your account settings:
521521

522522
----
523523
[sendemail]
524-
smtpEncryption = tls
524+
smtpEncryption = ssl
525525
smtpServer = smtp.gmail.com
526526
smtpUser = [email protected]
527-
smtpServerPort = 587
527+
smtpServerPort = 465
528528
----
529529

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

543543
----
544544
[sendemail]
545-
smtpEncryption = tls
545+
smtpEncryption = ssl
546546
smtpServer = smtp.gmail.com
547547
smtpUser = [email protected]
548-
smtpServerPort = 587
548+
smtpServerPort = 465
549549
smtpAuth = OAUTHBEARER
550550
----
551551

0 commit comments

Comments
 (0)