We have a cron\'ed PHP script that checks an inbox every ten minutes. The purpose of this script is to handle \"STOP to quit\" functionality for our SMS notification service
This has happened to me before. In order to fix it I had to do a imap_base64() on the body of the email after I used imap_fetchbody().
$body = imap_fetchbody($imap, 1, 1); $headers = imap_headerinfo($imap, 1); $body = imap_base64($body);