fix(contactForm): append question in subject
This commit is contained in:
parent
71dd25ca44
commit
91186e6644
@ -59,6 +59,7 @@ if(empty($errors)) {
|
|||||||
default:
|
default:
|
||||||
$purpose = "Autre demande";
|
$purpose = "Autre demande";
|
||||||
}
|
}
|
||||||
|
$emailSubject .= " : $purpose";
|
||||||
|
|
||||||
$emailBody = "Vous avez reçu un nouveau message depuis le formulaire du site Astrolabe :".
|
$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";
|
"\r\n\r\nNom: $name \r\nEmail: $emailAddress \r\nRaison: $purpose\r\nSubscribe: $subscribe\r\n\r\n$message";
|
||||||
|
Loading…
Reference in New Issue
Block a user