# [PATCH] Documentation/git-send-email: Add "Use gmail as the smtp server"

2 messages from 2010-04-24 to 2010-04-24. Participants: Ping Yin, Sverre Rabbelier.
Thread: https://gitlist.dev/t/23587

## Ping Yin, 2010-04-24 07:34

Subject: [PATCH] Documentation/git-send-email: Add "Use gmail as the smtp server"
Message-ID: <1272094442-26485-1-git-send-email-pkufranky@gmail.com>
URL: https://gitlist.dev/e/1272094442-26485-1-git-send-email-pkufranky%40gmail.com

```
Signed-off-by: Ping Yin <pkufranky@gmail.com>
---
 Documentation/git-send-email.txt |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index ced35b2..3dfdc7c 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -300,6 +300,21 @@ sendemail.confirm::
 	in the previous section for the meaning of these values.
 
 
+Use gmail as the smtp server
+----------------------------
+
+Add the following section to the config file:
+
+	[sendemail]
+		smtpencryption = tls
+		smtpserver = smtp.gmail.com
+		smtpuser = yourname@gmail.com
+		smtpserverport = 587
+
+Note: the following perl modules are required
+      Net::SMTP::SSL, MIME::Base64 and Authen::SASL
+
+
 Author
 ------
 Written by Ryan Anderson <ryan@michonline.com>
-- 
1.7.1.rc2.265.g8743f

```

## Sverre Rabbelier, 2010-04-24 23:03

Subject: Re: [PATCH] Documentation/git-send-email: Add "Use gmail as the smtp server"
Message-ID: <h2vfabb9a1e1004241603pc1371c18h84c012a51a085837@mail.gmail.com>
URL: https://gitlist.dev/e/h2vfabb9a1e1004241603pc1371c18h84c012a51a085837%40mail.gmail.com
In-Reply-To: <1272094442-26485-1-git-send-email-pkufranky@gmail.com>

```
Heya,

On Sat, Apr 24, 2010 at 09:34, Ping Yin <pkufranky@gmail.com> wrote:
> +Use gmail as the smtp server

I use this setup myself, and I think it's very convenient to have this
in there, so fwiw:

Acked by: Sverre Rabbelier <srabbelier@gmail.com>

-- 
Cheers,

Sverre Rabbelier

```
