私のサイトからの電子メールの動的送信に問題があります ホットメールをお持ちのお客様は、ライブメールにメール(bcc受信メール)とgmail例ではそれらを受信しますが、迷惑メールやその他のものはメインにあります。あなたが使用しているコードメールを受信していないphpメールの見通し
function emailDemande($email, $nameL){
if (!preg_match("#^[a-z0-9._-][email protected](hotmail|live|msn).[a-z]{2,4}$#", $email))
{
$passage_ligne = "\r\n";
}
else
{
$passage_ligne = "\n";
}
$subject = 'Votre demande d\'expérience mystère';
$headers = "From: site <[email protected]>".$passage_ligne;
$headers .= "Bcc: [email protected]".$passage_ligne;
$headers .= "MIME-Version: 1.0".$passage_ligne;
$headers .= "Content-Type: text/html; charset=UTF-8".$passage_ligne;
$message = '<html><body><p>Cher(e) '.$nameL.',</p></body></html>';mail($email, $subject, $message, $headers);};
あなたの質問は何ですか? – arkascha
私の質問はなぜ私がホットメールとライブでメールを受信しなかったのですか? 私のコードに問題はありますか?どこでそれを解決するのか – lolla