mail: dernier rappel reinscription
This commit is contained in:
parent
9e8f697a23
commit
76c8c2d9f2
4 changed files with 18 additions and 16 deletions
|
@ -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')
|
||||
|
|
|
@ -1 +1 @@
|
|||
Réadhésion au Crans
|
||||
Réadhésion au Crans (plus que quelques jours)
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
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 !
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue