Fixing leaking mail-adresses

This commit is contained in:
cpp 2020-07-31 21:45:13 +02:00 committed by stratholme
parent 8a1f33b918
commit 17a70648d7

View file

@ -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):