6.0.0-beta1
10/17/25

[#3048] attach / mime-type problem
Summary attach / mime-type problem
Queue Gollem
Queue Version HEAD
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester horde (at) kryptisk (dot) dk
Created 11/26/2005 (7265 days ago)
Due
Updated 11/26/2005 (7265 days ago)
Assigned
Resolved 11/26/2005 (7265 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/26/2005 11:14:47 PM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
Then text/plain is what your mime-magic analysis is identifiying.  We 
do analysis by file extension to build the listings in gollem.



That being said, it is probably better (less resource-intensive) to do 
the MIME file extension check first when adding files.  So I've 
refactored the code a bit.  If you are still getting text/plain, try 
installing the 'fileinfo' PECL module.
11/26/2005 05:46:35 AM horde (at) kryptisk (dot) dk Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ attach / mime-type problem
Queue ⇒ Gollem
Reply to this comment
I'am running



Horde 3.0.4

imp 4.0.4

Gollem 1.0.1





When composing a new message and attaching files from gollem (a MySQL

VFS backend in this case). All attached files occurs as mime-type

text/plain. This is strange to me, because when attaching files from my

computer there's nothing wrong. I tried this for .txt .pdf .doc files.

And these exact same files uploaded to file manager - appear right in

the file manager list when selecting them for attachment. (eg The 
files have he right type in Gollem)

I haven't changed any mime_drivers.

Saved Queries