X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Frapports_inscription.php;h=d25f1fdd5fb949159c6862a915547b7bb6e61ba8;hb=12a587df92f7bc9efeb91c1a2d27f763070b8609;hp=2075b2b1f7d881832512f1d68db6e2e53b063e56;hpb=1e33266a2f91e1af7a5cb3e8fbbc1c49ff9341f3;p=platal.git diff --git a/bin/cron/rapports_inscription.php b/bin/cron/rapports_inscription.php index 2075b2b..d25f1fd 100755 --- a/bin/cron/rapports_inscription.php +++ b/bin/cron/rapports_inscription.php @@ -38,8 +38,8 @@ if ($b = $res->total()) { $res = XDB::query('SELECT COUNT(DISTINCT uid), COUNT(*) FROM register_marketing'); list($a, $b) = $res->fetchOneRow(); -$MESSAGE .= "\n$c INSCRIPTIONS SOLICITÉES :\n"; -$MESSAGE .= " $a utilisateurs\n $b adresses mails\n"; +$MESSAGE .= "\n$c INSCRIPTIONS SOLICITÉES :\n"; +$MESSAGE .= " $a utilisateurs\n $b adresses email\n"; // --------------------------------------- @@ -47,10 +47,10 @@ $MESSAGE .= "\n\n"; require_once('../../classes/plmailer.php'); $mailer = new PlMailer(); -$mailer->setSubject("$a confirmées, $b en attente et $c sollicitées"); -$mailer->setFrom('register@polytechnique.org'); -$mailer->addTo('register@polytechnique.org'); -$mailer->addCc('jean-michel.yolin+register@polytechnique.org'); +$mailer->setSubject("$a confirmées, $b en attente et $c sollicitées"); +$mailer->setFrom($globals->register->notif); +$mailer->addTo($globals->register->notif); $mailer->setTxtBody($MESSAGE); $mailer->send(); +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>