+
+def send_thank_you_email(name, address, language_code):
+ with override(language_code or 'pl'):
+ send_mail(_('Thank you for your support!'),
+ render_to_string('funding/email.txt', dict(name = name)),
+ getattr(settings, 'CONTACT_EMAIL', 'wolnelektury@nowoczesnapolska.org.pl'),
+ [address],
+ fail_silently=False
+ )
+