Browse Source

debugging sending emails

pull/1/head
Holger Frey 5 years ago
parent
commit
1f073ed661
  1. 1
      budgets/recipients.txt
  2. 2
      superx_budget/pyramid/overview.py

1
budgets/recipients.txt

@ -1,2 +1 @@ @@ -1,2 +1 @@
frey@imtek.de
brandstetter@imtek.de

2
superx_budget/pyramid/overview.py

@ -155,6 +155,6 @@ def send_overview(context, request): @@ -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}

Loading…
Cancel
Save