equal
deleted
inserted
replaced
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') |