Hi, I can't offer any help, but i would be curious to see what the full message source looks like.
Could you post the message source to the list? (snip out any long content areas..) Thanks, David --- "Michael F. Sprague" <[EMAIL PROTECTED]> wrote: > Hi folks, > > I've been digging around for this and so far have > come up empty. Hopefully > someone here has had a similar issue and can offer > some pointers. > > I have a message coming in w/3 parts: > > a text/plain 'intro' > a text/html version of the 'intro' > a pdf file > > This is a multipart MIME message and SM sees all 3 > parts just fine. > > However the pdf section is setup as Content-Type: > 'PDF' which AFAIK is wrong. > It should be application/pdf. > > Also the 'name' lists the filename but it is > bracketed by ?iso-8859-1? and > various tags. I think this is confusing SM b/ it > shows up in the message view > as a text/plain file. > > When I click on the link it shows the pdf in raw > text within the window. > > I thought I could fix this by modifying the SM code > to take any attachment of > type 'PDF' and switch it to application/pdf. So far > no luck (I'm new to PHP > which is probably my problem). > > Can anyone offer any pointers on how to force SM to > fix some 'bad' MIME > messages? > > Here is a sample of the headers from this part of > the mulitpart message: > > * Content-Type: 'PDF'; > name="=?iso-8859-1?Q?Email-93294-S0001-US-1352673-10=2Epdf?=" > * Content-Transfer-Encoding: base64 > * Content-Description: > =?iso-8859-1?Q?Email-93294-S0001-US-1352673-10=2Epdf?= > * Content-Disposition: attachment; > filename="=?iso-8859-1?Q?Email-93294-S0001-US-1352673-10=2Epdf?=" > * Content-ID: > > thanks, > mikeS > > > -- > Michael Sprague | [EMAIL PROTECTED] > Partner | System and Network Engineering > (SaNE), LLC > use STD::disclaimer; > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux > Tutorials. > Become an expert in LINUX or just sharpen your > skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the > bash shell to sys admin. > Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > -- > squirrelmail-users mailing list > List Address: > [EMAIL PROTECTED] > List Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
