mail: send_template: inverse to et from

This commit is contained in:
Daniel STAN 2015-07-08 15:05:51 +02:00
parent 6b63e030a6
commit ec94ee2e1d

View file

@ -258,7 +258,7 @@ class ServerConnection(object):
return return
# TODO: get lang toussa # TODO: get lang toussa
body = generate(tpl_name, data).as_string() body = generate(tpl_name, data).as_string()
self.sendmail(to, From, body) self.sendmail(From, to, body)
def __exit__(self, type, value, traceback): def __exit__(self, type, value, traceback):