Update smtp.py
This commit is contained in:
parent
6a3b06f371
commit
96889b02a9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue