Merge pull request 'fix(contactForm): append question in subject' (#84) from fix/contact-set-object into master

Reviewed-on: AstrolabeCAE/SiteWebAstrolabe#84
This commit is contained in:
Florent Le Saout 2024-03-21 17:36:48 +01:00
commit 66c074eced

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";