aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-09-18 10:07:01 -0700
committerJunio C Hamano <gitster@pobox.com>2025-09-18 10:07:02 -0700
commit9827e07aa043448941c08ddffb3563e3957446f1 (patch)
tree4d9fe1915c53e3f30afe1337d379f26e1138530a
parentc6fa656e2ce6b31e0f92c9d54b706d3d28866c52 (diff)
parentfafc9b08b83fb4510aad7226739d87ac810362d2 (diff)
downloadgit-9827e07aa043448941c08ddffb3563e3957446f1.tar.gz
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
-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 51cc9c12e7..263b977353 100644
--- a/Documentation/git-send-email.adoc
+++ b/Documentation/git-send-email.adoc
@@ -557,10 +557,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`.
@@ -578,10 +578,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
----