Bcc all emails for now

This commit is contained in:
Yohan Boniface 2019-04-03 15:46:54 +02:00
parent 5aeeb5f3b8
commit 69b5b6cf0b

View file

@ -20,6 +20,7 @@ def send(to, subject, body, html=None):
msg["Subject"] = subject
msg["From"] = config.FROM_EMAIL
msg["To"] = to
msg["Bcc"] = config.FROM_EMAIL
if html:
msg.add_alternative(html, subtype="html")
if not config.SEND_EMAILS: