Gmail's SMTP server also has a port 465 with SSL/TLS encryption. It is more secure than port 587 with STARTTLS encryption. Update the docs to reflect this change. Signed-off-by: Aditya Garg <gargaditya08@xxxxxxxx> --- Documentation/git-send-email.adoc | 8 ++++---- 1 file 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@xxxxxxxxx - 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@xxxxxxxxx - smtpServerPort = 587 + smtpServerPort = 465 smtpAuth = OAUTHBEARER ---- -- 2.51.0