forked from CCCHH/hedgedoc-expire
use correct to address in log message
This commit is contained in:
parent
89b0659cba
commit
7a367cd8de
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class EmailSender:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f'Unable to send mail through {self}: {e}')
|
print(f'Unable to send mail through {self}: {e}')
|
||||||
raise e
|
raise e
|
||||||
print(f'Report email to {self.mail_from} sent successfully.')
|
print(f'Report email to {message['To']} sent successfully.')
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return f'EmailSender<{self.hostname},{self.port},{self.username},{self.mail_from}>'
|
return f'EmailSender<{self.hostname},{self.port},{self.username},{self.mail_from}>'
|
||||||
|
|
Loading…
Reference in a new issue