mercurial/mail.py
changeset 3877 abaee83ce0a6
parent 2964 26c8d37496c2
child 3891 6b4127c7d52a
equal deleted inserted replaced
3876:1e0b94cfba0e 3877:abaee83ce0a6
     4 #
     4 #
     5 # This software may be used and distributed according to the terms
     5 # This software may be used and distributed according to the terms
     6 # of the GNU General Public License, incorporated herein by reference.
     6 # of the GNU General Public License, incorporated herein by reference.
     7 
     7 
     8 from i18n import gettext as _
     8 from i18n import gettext as _
     9 from demandload import *
     9 import os, re, smtplib, templater, util
    10 demandload(globals(), "os re smtplib templater util")
       
    11 
    10 
    12 def _smtp(ui):
    11 def _smtp(ui):
    13     '''send mail using smtp.'''
    12     '''send mail using smtp.'''
    14 
    13 
    15     local_hostname = ui.config('smtp', 'local_hostname')
    14     local_hostname = ui.config('smtp', 'local_hostname')