mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-23 00:25:18 +00:00
Mailer always enabled
This commit is contained in:
parent
f4d660d5eb
commit
a4a31ca2c6
@ -14,9 +14,6 @@ env = Environment(loader=PackageLoader("certidude", "templates/mail"))
|
|||||||
|
|
||||||
def send(template, to=None, include_admins=True, attachments=(), **context):
|
def send(template, to=None, include_admins=True, attachments=(), **context):
|
||||||
from certidude import authority, config
|
from certidude import authority, config
|
||||||
if not config.MAILER_ADDRESS:
|
|
||||||
# Mailbox disabled, don't send e-mail
|
|
||||||
return
|
|
||||||
|
|
||||||
recipients = ()
|
recipients = ()
|
||||||
if include_admins:
|
if include_admins:
|
||||||
|
Loading…
Reference in New Issue
Block a user