Merge branch 'bg/send-email-smtpdomain'
[gitweb.git] / Documentation / git-send-email.txt
index 288a4ec3039a59a14819b843d1100fc76a47e3f6..12622fc49a0825fa8423c46ddddc06ff89f292d4 100644 (file)
@@ -307,6 +307,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>