Add Reply-To to the registration notification email.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 28 Apr 2008 21:42:11 +0000 (23:42 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 28 Apr 2008 21:42:11 +0000 (23:42 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/register.php

index fcc44a3..d18d80a 100644 (file)
@@ -362,6 +362,7 @@ class RegisterModule extends PLModule
             $mymail->setSubject("Inscription de $prenom $nom (X$promo)");
             $mymail->setFrom('"Webmaster Polytechnique.org" <web@' . $globals->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"