From b417592baa7c7293b9c901e95efbfcb27477a6b3 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 30 May 2016 23:13:52 +0200 Subject: [PATCH] set email sender to info@bornhack.dk --- shop/email.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shop/email.py b/shop/email.py index 3b187eeb..38f5094b 100644 --- a/shop/email.py +++ b/shop/email.py @@ -3,7 +3,7 @@ from django.conf import settings from django.template.loader import render_to_string -def send_email(emailtype, recipient, formatdict, subject, sender='BornHack ', attachment=None): +def send_email(emailtype, recipient, formatdict, subject, sender='BornHack ', attachment=None): ### determine email type, set template and attachment vars html_template=None @@ -56,7 +56,7 @@ def send_invoice_email(invoice): recipient=invoice.order.user.email, formatdict=formatdict, subject=subject, - sender='noreply@bornfiber.dk', + sender='info@bornhack.dk', attachment=invoice.pdf.read(), )