Re: problem with forwarding (some) mail with attachments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In /src/move_messages.php, replace the line line that says 

$body = implode('', $body_a);                                   (I believe it
was on line 83 originally in my version)

WITH :


// DENNIS DAY'S CUSTOM CODE
                $body = "";
                foreach($body_a as $body_a_key=>$body_a_value){
                                $body .= $body_a_value;
                }
// END DENNIS DAY'S CUSTOM CODE

// ORIGONAL BAD CODE - ERRORS ON ATTACHMENTS LARGER THAT (2MB ACCORDING TO
SQUIRRELMAIL)
//              $body = implode('', $body_a);


Reason: Apparently, the implode command has issues with large arrays.  The
$body_a variable is pertaining to the original message.  I just went the old
school route and it seems to work great.  Hope this helps you out.




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux