author | Matt Mackall <mpm@selenic.com> |
Thu, 25 Jun 2015 17:52:20 -0500 | |
changeset 25842 | fa3f0301cf91 |
parent 25841 | a2f7e0ba57a6 |
child 25843 | bf9ea348b487 |
mercurial/mail.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/mail.py Thu Jun 25 17:51:32 2015 -0500 +++ b/mercurial/mail.py Thu Jun 25 17:52:20 2015 -0500 @@ -154,7 +154,7 @@ def _sendmail(ui, sender, recipients, msg): '''send mail using sendmail.''' - program = ui.config('email', 'method') + program = ui.config('email', 'method', 'smtp') cmdline = '%s -f %s %s' % (program, util.email(sender), ' '.join(map(util.email, recipients))) ui.note(_('sending mail: %s\n') % cmdline)