Patricia Keena said: > Hi, > > I am currently running SM in the following environment: > > RedHat Linux 7.2 > Apache 1.3 > SquirrelMail 1.4.1 > PHP 4.3.2 > Zend Optomizer 2.1.03 >
You forgot the imap-server type. > Everything seems to be running smoothly apart from users viewing MS Excel > attachments. When users view an email message with an .xls attachment, > the attachment seems to be recognised as an excel spreadsheet i.e. > > testfile.xls 25 k [ application/vnd.ms-excel ] download > > However, when users try to view the file, it is displayed as plain text, > you can opt to choose a program to open the file you get an error message > stating that "untitled.mixed.xls" cannot be located. If you opt to save > the file, the default filename is usually untitled.mixed which is saved as > a text file. If you choose to save the file as it's original filename as > "all files", the file opens in excel but is corrupt. > > Also, when users try to re-open messages when they have previously tried > to view these attachments in their current session, the following error > message is displayed: > > Fatal error: Call to a member function on a non-object in > /var/local/data/squirrelmail/class/mime/Message.class.php on line 681 > > The user must log out of SM and log back in before they can attempt to > view the message again. > > I believe that SM may attempt to read the file as application/octet-stream > format even though the SM application displays that the attachment is > application/vnd.ms-excel format. > > I initially thought that the message was in uuencoded format so installed > the "get_uuencoded" plug-in (version 2.0) to no avail. > > I have checked /etc/mime.types file and excel is present as a recognised > mime format. > > I have verified that the attachment directory has the appropriate file > ownership permissions. > > Any hints would be appreciated. > In my experience this is caused by badly formatted bodystructures returned by your imap server. Normally SM does not show the view link in case of an .xls attachment. Regards, Marc Groot Koerkamp. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
