Logger info for email notification sent
This commit is contained in:
@@ -1348,6 +1348,8 @@ class Email(object):
|
|||||||
|
|
||||||
mailserver.sendmail(plexpy.CONFIG.EMAIL_FROM, plexpy.CONFIG.EMAIL_TO, message.as_string())
|
mailserver.sendmail(plexpy.CONFIG.EMAIL_FROM, plexpy.CONFIG.EMAIL_TO, message.as_string())
|
||||||
mailserver.quit()
|
mailserver.quit()
|
||||||
|
|
||||||
|
logger.info(u"Email notifications sent.")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
|
Reference in New Issue
Block a user