diff --git a/felamimail/inc/class.bofelamimail.inc.php b/felamimail/inc/class.bofelamimail.inc.php index 0bc5511b9d..f1304e449e 100644 --- a/felamimail/inc/class.bofelamimail.inc.php +++ b/felamimail/inc/class.bofelamimail.inc.php @@ -684,7 +684,8 @@ return false; } // delete the messages finaly - $this->icServer->expunge(); + $rv = $this->icServer->expunge(); + if ( PEAR::isError($rv)) error_log(__METHOD__." failed to expunge Message(s) from Folder: ".$_folder.' due to:'.$rv->message); } break;