Code

Documentation/git-send-email: Add "Use gmail as the smtp server"
authorPing Yin <pkufranky@gmail.com>
Sat, 24 Apr 2010 07:34:02 +0000 (15:34 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 May 2010 17:12:26 +0000 (10:12 -0700)
Signed-off-by: Ping Yin <pkufranky@gmail.com>
Acked by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt

index ced35b2f532dde3580f162a0c23b642002a0e508..3dfdc7cca6cf27be47bf610da5c84a99d1df7926 100644 (file)
@@ -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>