Logger info for email notification sent

This commit is contained in:
Jonathan Wong 2015-11-17 23:22:12 -08:00
parent 223e2b2b32
commit 9aea663754

View file

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