Commit 76c8c2d9 authored by Daniel Stan's avatar Daniel Stan

mail: dernier rappel reinscription

parent 9e8f697a
......@@ -17,7 +17,7 @@ SEND=False
# campus (les autres ont potentiellement répondu à chambres_invalides, donc
# on ne va pas les respammer). On considère aussi les membres actifs,
# invariablement.
ldap_filter=u'(&(|(droits=*)(&(!(chbre=????))(chbre=*)(!(chbre=EXT))))(paiement=2013)(aid=*))'
ldap_filter=u'(&(|(droits=*)(&(chbre=*)(!(chbre=????))(!(chbre=EXT))))(paiement=2013)(aid=*)(!(finConnexion=*)))'
conn=lc_ldap.shortcuts.lc_ldap_readonly()
......@@ -29,11 +29,14 @@ for adh in conn.search(ldap_filter):
addr = adh.get_mail()
if addr:
mailaddrs.add(addr)
else:
print "skip %s" % adh.dn
print "Va envoyer le message à %s personnes." % len(mailaddrs)
if not SEND:
print "(Simulation only) Mettre la variable SEND à True effectuer l'envoi"
print "(Simulation only.) Mettre la variable SEND à True effectuer l'envoi"
print "Appuyer sur une touche pour continuer."
raw_input()
echecs=[]
conn_smtp=smtplib.SMTP('smtp.adm.crans.org')
......
Réadhésion au Crans
Réadhésion au Crans (plus que quelques jours)
Dear Crans member,
It seems that you haven't yet resuscribed for the new academic year. If you
It seems that you haven't yet resuscribed for the new academic year. If you
wish to keep your connection to the Crans network and to the Internet, you need
to resuscribe before September 30th, otherwise your connection will be
suspended.
to resuscribe before September 30th, otherwise your connection will be
suspended.
In order to do so, you can meet us during one of our office hours at the Kfet.
Just to remind you: they take place from Monday to Friday, from 12:30pm to
1:30pm and from 6:30pm to 8:30pm, *except on Tuesday night*. Please come during
those office hours, or else nobody will be able to help for your
resubscription.
Just to remind you: they take place from Monday to Friday, from 12:30pm to
1:30pm and from 6:30pm to 8:30pm, *except on Tuesday evening*. Please come
during those office hours, or else nobody will be able to help for your
resubscription.
To resuscribe, you need to fill the subscription form you can find at the Kfet.
No technical information is required.
......@@ -17,8 +17,8 @@ The amount of the subscription for this academic year is still 50€, that you c
pay either by cheque payable to the "Association Crans", by cash or by credit
card.
If you do not wish to resuscribe for the present academic year, just let us
know and we will delete your computers from our database.
If you do not wish to resuscribe for the present academic year, just let us
know and we will delete your computers from our database.
See you soon !
......
Cher adhérent du Cr@ns,
Il apparaît que tu n'as pas encore réadhéré pour cette année
universitaire. Si tu souhaites conserver ta connexion au Cr@ns
et à Internet, il te faut réadhérer avant le 30 septembre au soir,
Il apparaît que tu n'as pas encore réadhéré pour cette année
universitaire. Si tu souhaites conserver ta connexion au Cr@ns
et à Internet, il te faut réadhérer avant le 30 septembre au soir,
sans quoi ta connexion sera coupée.
Tu peux pour cela nous retrouver lors d'une de nos permanences. Pour
......@@ -22,5 +22,4 @@ de données.
À très bientôt !
--
Les câbleurs du Cr@ns
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