[mail] Le corps est encodé dans la fonction de génération, pas besoin de le refaire

This commit is contained in:
Valentin Samir 2013-10-08 10:14:56 +02:00
parent 1fbcc7fc3e
commit 81eddeb0ff
2 changed files with 1 additions and 3 deletions

View file

@ -76,7 +76,7 @@ for clandestin in bad_boys_e_s:
if DEBUG:
print mail
mailer = os.popen("/usr/sbin/sendmail -t", "w")
mailer.write(mail.encode("utf-8") + "\n.")
mailer.write(mail + "\n.")
mailer.close()
else: