Code

Documentation/git-send-email: Add "Use gmail as the smtp server"
[git.git] / 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>