summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-10-15 10:29:34 -0700
committerJunio C Hamano <gitster@pobox.com>2025-10-15 10:29:34 -0700
commit2a33cd686476b9443bf9bfc47b1398478b0ebe73 (patch)
treef12d49efb29cd8f05401ea22df8abbf70d258703
parente0a4669e56d2c3f247396b91d05fbb6ac267437d (diff)
parentfafc9b08b83fb4510aad7226739d87ac810362d2 (diff)
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
-rw-r--r--Documentation/git-send-email.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/git-send-email.adoc b/Documentation/git-send-email.adoc
index 5335502d68..c610909a92 100644
--- a/Documentation/git-send-email.adoc
+++ b/Documentation/git-send-email.adoc
@@ -521,10 +521,10 @@ edit `~/.gitconfig` to specify your account settings:
----
[sendemail]
- smtpEncryption = tls
+ smtpEncryption = ssl
smtpServer = smtp.gmail.com
smtpUser = yourname@gmail.com
- smtpServerPort = 587
+ smtpServerPort = 465
----
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
----
[sendemail]
- smtpEncryption = tls
+ smtpEncryption = ssl
smtpServer = smtp.gmail.com
smtpUser = yourname@gmail.com
- smtpServerPort = 587
+ smtpServerPort = 465
smtpAuth = OAUTHBEARER
----