Commit b98ff1f8 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[generate/adherents] On arrête l'envoi de mails de bienvenue, car ça spamme.

parent cc4aab72
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment