PHP-mail() 経由で HTML メールを送信しています。コンテンツは、いくつかの div コンテナーといくつかの外部イメージです。
iPhone や iPad などの Apple モバイル デバイスでは、メールの内容を読み取ることができず、代わりに「このメッセージには内容がありません」というメッセージが表示されます。面白いことに、メール アプリのプレビュー ペインに、メールの最初の数語が表示されます。したがって、少なくとも何らかの形で内容はそこにあります。Google webmailer で同じメールを読むときはすべて問題ありません。
手伝ってくれますか?
編集:要求されたとおり、ここにソースがあります。$mail には HTML-mailbody が値として含まれます。
$id = md5(uniqid(time()));
$header= "From: Mailer <info@domain.com>\n";
$header.= "Content-Type: multipart/mixed; boundary=".$id."\n";
$header.= "This is a multi-part message in MIME format\n";
$header.= "--".$id."\n";
$header.= "MIME-Version: 1.0\n";
$header.= "Content-type: text/html; charset=iso-8859-1\n";
$header.= "Content-Transfer-Encoding: 8bit\n";
$header.= $mail."\n";
$header.= "--".$id."--";
$betreff = mb_encode_mimeheader("subject", "UTF-8");
mail($mailaddress, $betreff, $mail, $header);