Fixing leaking mail-adresses
This commit is contained in:
parent
8a1f33b918
commit
17a70648d7
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ def smtp_send(content):
|
|||
mail_message['To'] = recipient
|
||||
smtp_server.sendmail(from_addr=smtp_from,\
|
||||
to_addrs=recipient,msg=mail_message.as_string())
|
||||
delete mail_message['To']
|
||||
smtp_server.quit()
|
||||
|
||||
def redmine_request(path):
|
||||
|
|
Loading…
Reference in a new issue