Code

Merge branch 'jn/maint-doc-ignore'
[git.git] / Documentation / git-send-email.txt
index f171471e64d6b1980fe64a359c512e909d83adf7..12622fc49a0825fa8423c46ddddc06ff89f292d4 100644 (file)
@@ -123,7 +123,8 @@ Sending
        Specifies the Fully Qualified Domain Name (FQDN) used in the
        HELO/EHLO command to the SMTP server.  Some servers require the
        FQDN to match your IP address.  If not set, git send-email attempts
-       to determine your FQDN automatically.
+       to determine your FQDN automatically.  Default is the value of
+       'sendemail.smtpdomain'.
 
 --smtp-pass[=<password>]::
        Password for SMTP-AUTH. The argument is optional: If no
@@ -306,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>