diff --git a/budgets/recipients.txt b/budgets/recipients.txt index bef717c..c2593d9 100644 --- a/budgets/recipients.txt +++ b/budgets/recipients.txt @@ -1,2 +1 @@ frey@imtek.de -brandstetter@imtek.de diff --git a/superx_budget/pyramid/overview.py b/superx_budget/pyramid/overview.py index a615813..51ea0bc 100644 --- a/superx_budget/pyramid/overview.py +++ b/superx_budget/pyramid/overview.py @@ -155,6 +155,6 @@ def send_overview(context, request): tmp.seek(0) attachment = Attachment(xls_name, XLSX_CONTENT_TYPE, tmp) message.attach(attachment) - request.mailer.send(message) + request.mailer.send_immediately(message, fail_silently=False) return {"recipients": recipients, "xls_name": xls_name}