diff --git a/umfrage_kirchenplatz2012/src/umfrage.py b/umfrage_kirchenplatz2012/src/umfrage.py index fc5ad9a..482e4f4 100644 --- a/umfrage_kirchenplatz2012/src/umfrage.py +++ b/umfrage_kirchenplatz2012/src/umfrage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.6 +#!/usr/bin/env python # -*- coding: utf-8 -*- # # @@ -160,7 +160,8 @@ def send_mail(to_address, from_address, subject, text): use_ssl = use_ssl.lower() in ("1", "true", "yes", "on", "enabled") host = config.get("mail", "host", "localhost") if use_ssl: - s = smtplib.SMTP_SSL(host) + # see http://bugs.python.org/issue11927 (Python 2.7 uses port 25 instead of 465 by default) + s = smtplib.SMTP_SSL(host, port=465) else: s = smtplib.SMTP(host) s.sendmail(from_address, [to_address], msg.as_string()) diff --git a/umfrage_kirchenplatz2012/templates/start.html b/umfrage_kirchenplatz2012/templates/start.html index cb2f0f3..0c2a065 100644 --- a/umfrage_kirchenplatz2012/templates/start.html +++ b/umfrage_kirchenplatz2012/templates/start.html @@ -30,7 +30,10 @@ Falls Sie Fragen oder Anregungen zu dieser Umsetzung haben sollten, dann senden

Es verbleiben nur noch ${remaining_text} bis zum Ende des städtischen Beteiligungsverfahrens!

@@ -39,7 +42,19 @@ Falls Sie Fragen oder Anregungen zu dieser Umsetzung haben sollten, dann senden
-
+ +
+
+
+ + +
+ +
+
+
+ +