Adding ability to exclude certificates from expiration (#730)

* adding ability to exclude certificates from expiration

* fixing tests
This commit is contained in:
kevgliss
2017-03-15 11:25:19 -07:00
committed by GitHub
parent b0ea027769
commit f0dde845db
4 changed files with 26 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ def send_via_smtp(subject, body, targets):
:param targets:
:return:
"""
msg = Message(subject, recipients=targets)
msg = Message(subject, recipients=targets, sender=current_app.config.get("LEMUR_EMAIL"))
msg.body = "" # kinda a weird api for sending html emails
msg.html = body
smtp_mail.send(msg)