X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/130e1c7f8c43261d0e85e5ff9a354f037bb7cd24..a7d2c58f1476916c7781866ea55abeba9a12a18a:/wtem/management/commands/__init__.py?ds=sidebyside

diff --git a/wtem/management/commands/__init__.py b/wtem/management/commands/__init__.py
index 494edb6..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,6 +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)
-    email.send(fail_silently = False)
\ No newline at end of file
+    #print email.message()
+    email.send(fail_silently = False)