mail: send_template: inverse to et from
This commit is contained in:
parent
6b63e030a6
commit
ec94ee2e1d
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ class ServerConnection(object):
|
|||
return
|
||||
# TODO: get lang toussa
|
||||
body = generate(tpl_name, data).as_string()
|
||||
self.sendmail(to, From, body)
|
||||
self.sendmail(From, to, body)
|
||||
|
||||
|
||||
def __exit__(self, type, value, traceback):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue