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
This commit is contained in:
Junio C Hamano
2025-10-15 10:29:34 -07:00

View File

@@ -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
----