- "From: %s" % EMAIL,
- "To: %s" % user['email'],
- "Subject: [Cavote] %s" % gettext(u"A vote has been opened for your group"),
- "Date: %s" % time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()).decode('utf-8'),
- "Content-type: text/plain; charset=utf-8",
- "X-Mailer: %s" % VERSION,
+ u"From: %s" % EMAIL,
+ u"To: %s" % user['email'],
+ u"Subject: [vote] [%s] %s" % (choices['group_name'], request.form['title']),
+ u"Date: %s" % time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()).decode('utf-8'),
+ u"Content-type: text/plain; charset=utf-8",
+ u"X-Mailer: %s" % VERSION,