diff doc/hgrc.5.txt @ 2292:903ab41ac7eb

allow to send email using sendmail. default is still smtp. update hgrc doc with sendmail info.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Mon, 15 May 2006 10:25:17 -0700
parents dfa17bd1d45e
children 94d628499235
line wrap: on
line diff
--- a/doc/hgrc.5.txt	Mon May 15 09:27:27 2006 -0700
+++ b/doc/hgrc.5.txt	Mon May 15 10:25:17 2006 -0700
@@ -135,6 +135,20 @@
   from;;
     Optional.  Email address to use in "From" header and SMTP envelope
     of outgoing messages.
+  method;;
+    Optional.  Method to use to send email messages.  If value is
+    "smtp" (default), use SMTP (see section "[mail]" for
+    configuration).  Otherwise, use as name of program to run that
+    acts like sendmail (takes "-f" option for sender, list of
+    recipients on command line, message on stdin).  Normally, setting
+    this to "sendmail" or "/usr/sbin/sendmail" is enough to use
+    sendmail to send messages.
+
+  Email example:
+
+    [email]
+    from = Joseph User <joe.user@example.com>
+    method = /usr/sbin/sendmail
 
 extensions::
   Mercurial has an extension mechanism for adding new features. To