+ self.stdout.write('>>> sending to ' + submission.email)
+ send_mail(
+ "WTEM - Twój link do zadań",
+ render_to_string('wtem/email_key.txt', dict(submission = submission)),
+ getattr(settings, 'WTEM_CONTACT_EMAIL', 'no-reply@edukacjamedialna.edu.pl'),
+ [submission.email],
+ fail_silently=False
+ )
\ No newline at end of file