Skip to content
Snippets Groups Projects
Commit fa3f0301 authored by Matt Mackall's avatar Matt Mackall
Browse files

email: fix config default value inconsistency

parent a2f7e0ba
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment