fix(email) : expéditeur plus complet
This commit is contained in:
parent
c3f04d87c2
commit
e9e099b18a
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ class ReservationField extends BazarField
|
||||||
//$u[] = $user["email"];
|
//$u[] = $user["email"];
|
||||||
if (!empty($user["email"])) {
|
if (!empty($user["email"])) {
|
||||||
include_once 'tools/contact/libs/contact.functions.php';
|
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);
|
send_mail('noreply@yeswiki.pro', 'Outil Circuit Court', $user["email"], '[Outil CC] un nouveau trajet pour '.$producteur['bf_titre'].' le '.$date, $message , $message_html);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,7 +78,7 @@ Merci pour la proposition de ce trajet.
|
||||||
En cas de souci avec l’outil numérique, vous pouvez contacter Cyrille Bombard au 06 63 28 13 11 ou par mail à cyrille.bombard@wision.info';
|
En cas de souci avec l’outil numérique, vous pouvez contacter Cyrille Bombard au 06 63 28 13 11 ou par mail à cyrille.bombard@wision.info';
|
||||||
$message_html = nl2br($message);
|
$message_html = nl2br($message);
|
||||||
if (!empty($mail_receiver)) {
|
if (!empty($mail_receiver)) {
|
||||||
send_mail('noreply@yeswiki.pro', 'Outil CC', $mail_receiver, '[Outil CC] Une nouvelle personne pour votre trajet du '.$date, $message , $message_html);
|
send_mail('noreply@yeswiki.pro', 'Outil Circuit Court', $mail_receiver, '[Outil CC] Une nouvelle personne pour votre trajet du '.$date, $message , $message_html);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return array_merge(
|
return array_merge(
|
||||||
|
|
Loading…
Add table
Reference in a new issue