メール用に次の html コードがあります。
$headers = "From: jmedalla20@gmail.com \r\n" .
"MIME-Version: 1.0\r\n" .
"Content-Type: text/html; charset=ISO-8859-1 \r\n";
$message = <<<EOD
<!DOCTYPE html>
<head>
<meta http-equiv=Content-Type content=text/html; charset=utf-8 />
<link rel=stylesheet type=text/css href=logo.jpg/>
</head>
<body>
<img src=../../img/logo.jpg style=left: 0;position: absolute; width: 75px;/>
<body style=padding: 0 0 0 100px;position: relative;>
{date(F d, Y )} <br><br>
<b> {$row_Recordset1['First Name']} {$row_Recordset1['Middle Initial']} {$row_Recordset1['Last Name']}</b><br>
{$row_Recordset1['Position']}<br>{$row_Recordset1['Company Name']}<br>{$row_Recordset1['Corporate Address']}<br><br>
<p>Dear {$row_Recordset1['Last Name']}:</p>
// the rest of the letters
</body>
</html>
EOD;
いくつかのテストを実行しましたが、表示されるのは
{date(F d, Y )}
Dear :
コードが認識されていないと思います。助言がありますか?
編集:htmlは機能しています。動作していないのはphpコードだけだと思います