Resolved
I figured it out. When the Message Body is being parsed for html entities, the script is converting non-break spaces ( ) to actual non-break spaces, which is causing a MySQL error when inserting.
To fix this, I simply modified getBody() within "include/class.mailfetch.php" to the following...
function getBody($mid) {
$body ='';
if(!($body = $this->getpart($mid,'TEXT/PLAIN',$this->charset))) {
if(($body = $this->getPart($mid,'TEXT/HTML',$this->charset))) {
//Convert tags of interest before we striptags
$body=str_replace("", "\n", $body);
$body=str_replace(" ", "", $body);
$body=str_replace(array("", "", "", ""), "\n", $body);
$body=Format:($body); //Strip tags??
}
}
return $body;
}