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
main
Junio C Hamano 2025-09-18 10:07:01 -07:00
commit 9827e07aa0
1 changed files with 4 additions and 4 deletions

View File

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