fix(contactForm): append question in subject

This commit is contained in:
Jérémy Dufraisse 2024-03-21 12:49:00 +01:00
parent 71dd25ca44
commit 91186e6644

View File

@ -59,6 +59,7 @@ if(empty($errors)) {
default:
$purpose = "Autre demande";
}
$emailSubject .= " : $purpose";
$emailBody = "Vous avez reçu un nouveau message depuis le formulaire du site Astrolabe :".
"\r\n\r\nNom: $name \r\nEmail: $emailAddress \r\nRaison: $purpose\r\nSubscribe: $subscribe\r\n\r\n$message";