Skip to content

Commit 2b873e0

Browse files
pkufrankygitster
authored andcommitted
Documentation/git-send-email: Add "Use gmail as the smtp server"
Signed-off-by: Ping Yin <pkufranky@gmail.com> Acked by: Sverre Rabbelier <srabbelier@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 28ba96a commit 2b873e0

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Documentation/git-send-email.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,21 @@ sendemail.confirm::
300300
in the previous section for the meaning of these values.
301301

302302

303+
Use gmail as the smtp server
304+
----------------------------
305+
306+
Add the following section to the config file:
307+
308+
[sendemail]
309+
smtpencryption = tls
310+
smtpserver = smtp.gmail.com
311+
smtpuser = yourname@gmail.com
312+
smtpserverport = 587
313+
314+
Note: the following perl modules are required
315+
Net::SMTP::SSL, MIME::Base64 and Authen::SASL
316+
317+
303318
Author
304319
------
305320
Written by Ryan Anderson <ryan@michonline.com>

0 commit comments

Comments
 (0)