Im using Revision 953 of Fmailbox and all is working great except a few things.
Im trying to return the word 'FALSE' if there is no connection to the imap or pop server
if (!$this->connection) {
Return FALSE;
}
If i print_r(); the class from my codeigniter controller its blank so somewhere the word false is lost.
And one more erro that i came across when getting this great app to work with codeigniter was these two lines of code
if ($structure['type'] == 'text' && $structure['subtype'] == 'plain') {
$info['text'] = $content;
return $info;
}
if ($structure['type'] == 'text' && $structure['subtype'] == 'html') {
$info['html'] = $content;
return $info;
}
Now this code is located under
// Attachments or inline content
if ($has_disposition) {
Now $content was blank and all my messages showed up as blank so I had to move it above this
// This indicates a content-id which is used for multipart/related
if ($structure['content_id']) {
So some where things are getting lost I did run error reporting but came up with nothing.
Any help or advice will be appreciated.