From a43e2ac5ffbacfb29ad95fee346d97fbaf8676da Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Thu, 9 Nov 2023 14:22:00 +0300 Subject: [PATCH] fix(email) : good generic sender --- fields/ReservationField.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fields/ReservationField.php b/fields/ReservationField.php index 828118a..23bc355 100644 --- a/fields/ReservationField.php +++ b/fields/ReservationField.php @@ -57,7 +57,8 @@ class ReservationField extends BazarField foreach ($users as $user) { //$u[] = $user["email"]; if (!empty($user["email"])) { - send_mail('noreply@yeswiki.pro', 'Fors Circuit Court', $user["email"], '[Fors CC] un nouveau trajet pour '.$producteur['bf_titre'].' le '.$date, $message , $message_html); + include_once 'tools/contact/libs/contact.functions.php'; + send_mail('noreply@yeswiki.pro', 'Outil CC', $user["email"], '[Outil CC] un nouveau trajet pour '.$producteur['bf_titre'].' le '.$date, $message , $message_html); } } }