-// {{{ function send_alert_mail
-
-function send_alert_mail($state, $body)
-{
- $mailer = new PlMailer();
- $mailer->setFrom("webmaster@polytechnique.org");
- $mailer->addTo("hotliners@staff.polytechnique.org");
- $mailer->setSubject("ALERTE LORS DE L'INSCRIPTION de "
- . $state['prenom'] . ' ' . $state['nom'] . '(' . $promo . ')');
- $mailer->setTxtBody($body
- . "\n\nIndentifiants :\n" . var_export($state, true)
- . "\n\nInformations de connexion :\n" . var_export($_SERVER, true));
- $mailer->send();
-}
-
-// }}}