From: Florent Bruneau Date: Mon, 28 Apr 2008 21:42:11 +0000 (+0200) Subject: Add Reply-To to the registration notification email. X-Git-Tag: core/1.0.0~225 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=280c6e4d9fcb1040d75b8c88339ea9d6e4ee8fab;p=platal.git Add Reply-To to the registration notification email. Signed-off-by: Florent Bruneau --- diff --git a/modules/register.php b/modules/register.php index fcc44a3..d18d80a 100644 --- a/modules/register.php +++ b/modules/register.php @@ -362,6 +362,7 @@ class RegisterModule extends PLModule $mymail->setSubject("Inscription de $prenom $nom (X$promo)"); $mymail->setFrom('"Webmaster Polytechnique.org" mail->domain . '>'); $mymail->addTo($globals->register->notif); + $mymail->addHeader('Reply-To', $globals->register->notif); $msg = "$prenom $nom (X$promo) a terminé son inscription avec les données suivantes :\n" . " - nom : $nom\n" . " - prenom : $prenom\n"