X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/0906b753cf528d45e225a4c196b3ed4ba7059f5c..57eff54d5f7b63e5c9fac3e8965cb7a61596e6e1:/wtem/management/commands/__init__.py diff --git a/wtem/management/commands/__init__.py b/wtem/management/commands/__init__.py index e39656a..ce7191f 100644 --- a/wtem/management/commands/__init__.py +++ b/wtem/management/commands/__init__.py @@ -1,6 +1,7 @@ from django.core.mail import EmailMessage from django.conf import settings + def send_mail(subject, body, to): if not isinstance(to, list): to = [to] @@ -11,7 +12,7 @@ def send_mail(subject, body, to): headers['Reply-To'] = reply_to email = EmailMessage(subject, body, - getattr(settings, 'WTEM_FROM', 'edukacjamedialna@nowoczesnapolska.org.pl'), + getattr(settings, 'WTEM_FROM', 'olimpiada@nowoczesnapolska.org.pl'), to, headers = headers) #print email.message() email.send(fail_silently = False)