"To: %s" % user['email'],
"Subject: [Cavote] %s" % gettext(u"Lost password"),
"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,
"",
gettext(u"It seems that you have lost your password."),
"To: %s" % user['email'],
"Subject: [Cavote] %s" % gettext(u"Welcome"),
"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,
"",
"%(text)s %(user)s!" % {"text": gettext(u"Hi"), "user": user['name']},
"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,
"",
"%(text)s %(title)s" % {"text": gettext(u"A vote has been opened and you are in a group concerned by it :"), "title": request.form['title']},
"To: %s" % user[1],
"Subject: [Cavote] %s" % gettext(u"Vote reminder - You didn't take part to it"),
"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,
"",
"%s %s : %s" % (gettext(u"A vote concerns you and is going to terminate on"), vote[2], vote[3]),
"To: %s" % user[1],
"Subject: [Cavote] %s" % gettext(u"Vote reminder - Last days to modify your choice"),
"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,
"",
"%s %s : %s" % (gettext(u"A vote concerns you and is going to terminate on "), vote[2], vote[3]),