We just do not get the clip attached when an email is signed, or a list of emails in the preview or email. Only if we double click on the file you view them.
So we try to fix both the preview and the list of emails.
spanMessagePreview
To fix this problem we must add a new line in the “updateMessagePreview” function in the file “inc/class.uiwidgets.inc.php”. A few lines above when loaded $IFRAMEBody variable, toward the line :695 we add the line:
$headerData[‘mimetype’] == ‘multipart/signed’ ||
to leave it like this:
if($headerData[‘mimetype’] == ‘multipart/mixed’ ||
$headerData[‘mimetype’] == ‘multipart/related’ ||
$headerData[‘mimetype’] == ‘multipart/signed’ || //by CSI TEAM
substr($headerData[‘mimetype’],0,11) == ‘application’ ||
substr($headerData[‘mimetype’],0,5) == ‘audio’) {
$image = html::image(‘felamimail’,‘attach’);
divMessageTableList
Here we modify the function “function messageTable” in the file “inc/class.uiwidgets.inc.php”
if($header[‘mimetype’] == ‘multipart/mixed’ ||
$header[‘mimetype’] == ‘multipart/related’ ||
$header[‘mimetype’] == ‘multipart/signed’ || //by CSI TEAM
substr($header[‘mimetype’],0,11) == ‘application’ ||
substr($header[‘mimetype’],0,5) == ‘audio’) {
$image = html::image(‘felamimail’,‘attach’);
//MODIFIED by CSI
if ($this->bofelamimail->icServer->_connected != 1)
{
$this->bofelamimail->openConnection(0); // connect to the current server
$this->bofelamimail->reopen($_folderName);
}
$attachments = $this->bofelamimail->getMessageAttachments($header[‘uid’],’’,’’,$resolveTNEF=false);
if (//$header[‘mimetype’] != ‘multipart/mixed’ &&
$header[‘mimetype’] != ‘multipart/signed’
)
{
if (count($attachments)<1) $image = ’ ';
} else {
if (count($attachments)<2) $image = ’ ';
}
Thanks!
CSI TEAM