From: x2002bobillot Date: Mon, 19 Mar 2007 20:04:40 +0000 (+0000) Subject: backport rev 1587 X-Git-Tag: xorg/0.9.13~4 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e9d4198fa031cf37f0816129ebf9ab65669a4f93;p=platal.git backport rev 1587 git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.13@1588 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/bin/cron/rapports_inscription.php b/bin/cron/rapports_inscription.php index 2075b2b..afc2f5e 100755 --- a/bin/cron/rapports_inscription.php +++ b/bin/cron/rapports_inscription.php @@ -48,9 +48,8 @@ $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->setFrom($globals->register->notif); +$mailer->addTo($globals->register->notif); $mailer->setTxtBody($MESSAGE); $mailer->send(); ?>