From b98ff1f861fdcae285aed14c725b8f2725a93829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Mon, 15 Sep 2014 19:52:08 +0200 Subject: [PATCH] =?UTF-8?q?[generate/adherents]=20On=20arr=C3=AAte=20l'env?= =?UTF-8?q?oi=20de=20mails=20de=20bienvenue,=20car=20=C3=A7a=20spamme.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/gen_confs/adherents.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/gen_confs/adherents.py b/gestion/gen_confs/adherents.py index 157ab0d1..72046f3b 100644 --- a/gestion/gen_confs/adherents.py +++ b/gestion/gen_confs/adherents.py @@ -191,12 +191,12 @@ class mail_bienvenue: print ERREUR continue conn=smtplib.SMTP('localhost') - conn.sendmail(From, To, mail_module.generate('bienvenue', { 'From': From, 'To': To, 'lang_info': 'English version below' }).as_string()) + #conn.sendmail(From, To, mail_module.generate('bienvenue', { 'From': From, 'To': To, 'lang_info': 'English version below' }).as_string()) conn.quit() print OK except Exception, c: print ERREUR - if self.debug: + if True: #self.debug: import traceback traceback.print_exc()