PHP IMAP のようなものを使用すると、ジャンク文字が表示されます
<b>Text in bold</b> getting converted to *Text in bold*
words like shouldn't are getting converted to shouldn=92t
私が使用しているコードは
$inbox = imap_open('host', 'un', 'pw') or die('Cannot connect to Mail box: ' . print_r(imap_errors()));
$mails = imap_search($inbox,'UNSEEN');
if($mails) {
foreach($mails as $mail) {
echo $message = imap_fetchbody($inbox, $mail, 1);
echo "<br><br>";
}
}
imap_close($inbox);
問題が何であるかを見つけるのを手伝ってくれる人はいますか?