ねえ、ここにこのコードがあります。私がやろうとしているのは、このhtmlファイルの内容をメールに含めることですが、機能していないようです:( mimeタイプは大丈夫ですか?phpには何が含まれていませんか?を探しています?
$to = "email@domainname.com";
$subject = "Late Notice";
$message .= include("latenotice.html");
$from = "myfriend@hisdomainname.com";
$headers = "From:" . $from;
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
mail($to,$subject,$message,$headers);