From 76d0933052954a8ad2d257d6d8f220b0def97610 Mon Sep 17 00:00:00 2001 From: David Date: Sat, 10 Nov 2018 17:17:41 +0100 Subject: [PATCH] #7 Hotmail doit fonctionne comme tout le monde maintenant... --- lib/ep_function.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ep_function.php b/lib/ep_function.php index cb8bccf..69c124e 100644 --- a/lib/ep_function.php +++ b/lib/ep_function.php @@ -284,10 +284,12 @@ function ListeAlias($email) { function SendEmail($recipient, $sujet, $message) { $header = "From: ".EMAILFROM."\n"; $header.= "MIME-Version: 1.0\n"; +/* if (preg_match('#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#', $recipient)) { $header = str_replace("\n", "\r\n", $header); $message = str_replace("\n", "\r\n", $header); } +*/ $message="Bonjour,\n\n".$message."\n\n". mail($recipient,EMAILTAGSUJET.' '.$sujet,$message,$header); }