mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 14:45:23 +00:00
Update smtp.py
This commit is contained in:
@@ -49,7 +49,7 @@ class SMTPAlert(BaseAlert):
|
||||
server.ehlo()
|
||||
server.login(self.user, self.password)
|
||||
server.sendmail(self.user, self.to, msg.as_string())
|
||||
logger.info('Email Sent')
|
||||
logger.info('Email sent')
|
||||
except Exception as ex:
|
||||
logger.error(ex)
|
||||
finally:
|
||||
|
Reference in New Issue
Block a user