From: Arild J. <ar...@ne...> - 2003-07-31 17:15:42
|
That did it! Thank you, that you! Especially for fixing it before I get to demo SM to my boss. Some minor things: * It was on line 1091, not 1074. I am using SM 1.4.1-2. * Viewing the email takes a long time. About 12 seconds. During that time httpd is taking up most of the CPU. I am running the webserver on an 1100 MHz Celeron w/256 MB RAM and Red Hat 9. Network is switched 100 Mbit/s. Other emails are shown in less that a second. -Arild ----- Original Message ----- From: "Seth Randall" <se...@mi...> To: <squ...@li...> Sent: Thursday, July 31, 2003 08:38 Subject: Re: [SM-USERS] Problems reading html email created my M$ software > Looks like SquirrelMail doesn't like the attribute x:num that MS programs > put in. It's actually an XML namespace attribute. Try changing line 1074 > in functions/mime.php from: > $regary = sq_findnxreg($body, $pos, "[^\w\-_]"); > to: > $regary = sq_findnxreg($body, $pos, "[^:\w\-_]"); > this seems to change it so it treats x:num as just another attribute. Let > me know if it works for you (it seems okay here). If it does, I'll change > it in CVS. > > Seth. > > pdo...@an... said: > >> Arild Jensen wrote : > >>> I have problems reading an HTML email created by M$ software: > >>> > >>> In Outlook Express it looks like this: > >>> http://www.counter-attack.com/sm/oe.gif > >>> > >>> and in SquirrelMail it looks like this: > >>> http://www.counter-attack.com/sm/sm.gif > >>> > >>> I am using SM 1.4.1-2 on RH 9. > >>> > >>> I'll be happy for forward the email in question to anyone wanting to > >>> dig > >>> down into this problem > >> > >> Hum, > >> > >> looks like you didn't check the 'view mail as HTML by default' or > >> sthg like that in 'options' -> 'display preferences' ... > > > > wouldn't be surprised if it was just non-standard HTML tags; not sure if > > SM should be obliged to support them... but then again, w/out seeing the > > message, I'm probably just jumping the gun > > > > > > > > > -- > Seth Randall > IT Support Specialist > Missoula Federal Credit Union > se...@mi... |