From: Raphael Marichez Date: Sat, 29 Jan 2005 03:20:54 +0000 (+0000) Subject: backport X-Git-Tag: xorg/old~351 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=9f6c407ba026ab0937a676236eda0fe7b13c3903;p=platal.git backport Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.4--patch-6 to make validation mails work properly git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-407 --- diff --git a/include/validations.inc.php b/include/validations.inc.php index cb72667..8e03296 100644 --- a/include/validations.inc.php +++ b/include/validations.inc.php @@ -202,9 +202,9 @@ class Validate require_once('diogenes/diogenes.hermes.inc.php'); $mailer = new HermesMailer; $mailer->setSubject($this->_mail_subj()); - $mailer->setFrom("validations+{$this->type}@{$globals->mail->domain}"); + $mailer->setFrom("validation+{$this->type}@{$globals->mail->domain}"); $mailer->addTo("\"{$this->prenom} {$this->nom}\" <{$this->bestalias}@{$globals->mail->domain}>"); - $mailer->addCc("validations+{$this->type}@{$globals->mail->domain}"); + $mailer->addCc("validation+{$this->type}@{$globals->mail->domain}"); $body = "Cher(e) camarade,\n\n" . $this->_mail_body($isok)