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 <[email protected]> Acked by: Sverre Rabbelier <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 28ba96a commit 2b873e0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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 = [email protected]
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 <[email protected]>

0 commit comments

Comments
 (0)