0
私のメール機能をテストすると、クライアントがメールを再送信するときに私のプロジェクトの一部があります。メールを再送信しますが、メールがno-gmailの場合、メールは再配信されません。これは私のメール機能である:(:phpメールはno-gmailアドレスでは動作しません
function emailDemande($email, $name, $nameL){
$subject = 'Votre demande ';
$headers = "From: XXX <[email protected]>\r\n";
$headers .= "Bcc: [email protected], [email protected]\r\n";
// $headers = 'From: XXX <'. $from. '>\r\n';
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=UTF-8\r\n";
$message='htmlmessage';
mail($email, $subject, $message, $headers);
};
してください任意のヘルプ!!
したがって、 'mail()'がtrueを返していますか?もしそうなら、それはPHPの問題ではありません。 –