Mercurial > hg > mercurial-crew-with-dirclash
comparison 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 |
comparison
equal
deleted
inserted
replaced
2291:1cad19678b4c | 2292:903ab41ac7eb |
---|---|
133 email:: | 133 email:: |
134 Settings for extensions that send email messages. | 134 Settings for extensions that send email messages. |
135 from;; | 135 from;; |
136 Optional. Email address to use in "From" header and SMTP envelope | 136 Optional. Email address to use in "From" header and SMTP envelope |
137 of outgoing messages. | 137 of outgoing messages. |
138 method;; | |
139 Optional. Method to use to send email messages. If value is | |
140 "smtp" (default), use SMTP (see section "[mail]" for | |
141 configuration). Otherwise, use as name of program to run that | |
142 acts like sendmail (takes "-f" option for sender, list of | |
143 recipients on command line, message on stdin). Normally, setting | |
144 this to "sendmail" or "/usr/sbin/sendmail" is enough to use | |
145 sendmail to send messages. | |
146 | |
147 Email example: | |
148 | |
149 [email] | |
150 from = Joseph User <joe.user@example.com> | |
151 method = /usr/sbin/sendmail | |
138 | 152 |
139 extensions:: | 153 extensions:: |
140 Mercurial has an extension mechanism for adding new features. To | 154 Mercurial has an extension mechanism for adding new features. To |
141 enable an extension, create an entry for it in this section. | 155 enable an extension, create an entry for it in this section. |
142 | 156 |