0
내 메일 기능을 테스트 할 때 내 메일 클라이언트가 메일을 재전송 할 때 내 프로젝트의 일부분을 가졌습니다. 주소가 "Gmail"일 때 문제가 있습니다. 메일을 재사용 할 수 있지만 메일이 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 문제가 아닙니다. –