Postmaster-697 wrote: > > >>> We are using squirrelmail version 1.4.8 >>> >>> When emailing a Word 2007 document with the ".docx" extension, Webmail >>> mis-recognizes is as plain-text, causing it to be displayed as garbage >>> text to end-users who click on the attachment name or the "View" link. >>> >>> ".docx" vs. ".doc": >>> " >>> TextAndPictures1.docx 42 k [ text/plain ] Download | View >>> >>> DOC-TextAndPictures2-DOC.doc 266 k [ application/msword ] Download >> >> Could it be that no one has yet updated the web server to recognize .docx >> extensions and how to handle them? > > webserver does not care about file types. User's browser tells to > webserver that it is uploading text/plain file. > > -- > Tomas > > > Huh ?? > Apache will convert to text type if it doesnt know > what to do with it.. > the .docx needs to be added to the httpd config > We are not talking about files downloaded from webserver. It is about files uploaded in html multipart/form-data form. Here goes capture from Live HTTP headers. --- POST /somepath/src/compose.php HTTP/1.1 ... Content-Type: multipart/form-data; boundary=---------------------------6716000612076580265981341304 Content-Length: 24676 .... Content-Disposition: form-data; name="attachfile"; filename="sample.docx" Content-Type: application/octet-stream ... HTTP/1.x 200 OK ... --- My webserver does not know anything about docx and sample.docx is attached as application/octet-stream. If it is set by webserver, why Safari sets broken mime type on .dwg files and other browsers don't do that. -- Tomas -- View this message in context: http://www.nabble.com/Re%3A-Office-2007-documents-tp17800968p17804969.html Sent from the squirrelmail-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users