Ops,
sorry for send read confirmation, but I did from wrong mail where I have it
as default.
Now corrected.
Best Regards
Francesco
----- Original Message -----
From: "Francesco Saverio Giudice - INFOCOM S.r.l."
<[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 09, 2007 6:18 PM
Subject: [qmailtoaster] error in squirrelmail 1.4.11 that losts attachments
Hi All,
I'm new on this list.
Today I have found a bug in squirellmail 1.4.11 and I want to show it if
someone got same error.
After upgrading from squirellmail-qmailtoaster from 1.4.9 to 1.4.11 it
happens that all attachments are lost on forwarding a message.
After digging on squirrelmail bug tracker I found
http://sourceforge.net/tracker/index.php?func=detail&aid=1805471&group_id=311&atid=100311
and solution is:
----------------
Date: 2007-10-03 06:54
Sender: jangliss
Logged In: YES
user_id=620333
Originator: NO
Around line 380 in src/compose.php, you should see the following code:
if (!empty($attachments)) {
$attachments = unserialize($attachments);
if (!empty($attachments) && is_array($attachments))
$composeMessage->entities = $attachments;
}
Change that code to the following:
if (!empty($attachments)) {
$attachments = unserialize($attachments);
if (!empty($attachments) && is_array($attachments)) {
$composeMessage->entities = $attachments;
$compose_messages[$session] = $composeMessage;
}
}
This seems to have resolve the issue on my PHP 4.4.x setup, and not
impacted my PHP 5.x.x setup.
----------------
HTH
Best Regards
Francesco saverio Giudice
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]