diff doc/hgrc.5.txt @ 2200:9f43b6e24232

move mail sending code into core, so extensions can share it. document hgrc settings used.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 04 May 2006 12:23:01 -0700
parents 5de8b44f0446
children 956e329f9e13
line wrap: on
line diff
--- a/doc/hgrc.5.txt	Thu May 04 12:02:32 2006 -0700
+++ b/doc/hgrc.5.txt	Thu May 04 12:23:01 2006 -0700
@@ -130,6 +130,12 @@
     # them to the working dir
     **.txt = tempfile: unix2dos -n INFILE OUTFILE
 
+email::
+  Settings for extensions that send email messages.
+  from;;
+    Optional.  Email address to use in "From" header and SMTP envelope
+    of outgoing messages.
+
 hooks::
   Commands or Python functions that get automatically executed by
   various actions such as starting or finishing a commit. Multiple
@@ -240,6 +246,24 @@
   user;;
     Optional.  User name to authenticate with at the proxy server.
 
+smtp::
+  Configuration for extensions that need to send email messages.
+  host;;
+    Optional.  Host name of mail server.  Default: "mail".
+  port;;
+    Optional.  Port to connect to on mail server.  Default: 25.
+  tls;;
+    Optional.  Whether to connect to mail server using TLS.  True or
+    False.  Default: False.
+  username;;
+    Optional.  User name to authenticate to SMTP server with.
+    If username is specified, password must also be specified.
+    Default: none.
+  password;;
+    Optional.  Password to authenticate to SMTP server with.
+    If username is specified, password must also be specified.
+    Default: none.
+
 paths::
   Assigns symbolic names to repositories.  The left side is the
   symbolic name, and the right gives the directory or URL that is the