Re: [Evolution] content type of attachments



Hi, again-
Actually, it doesn't seem to have anything to do with the contents of
the file.  I just made a one line test file containing "This is a test"
and named it test.dat.  If I attach this (using Evo Beta2) in a compose
window, it is assigned as video/mpeg.  If I rename that file to test.txt
and attach it, it is assigned as test/plain.
Scott
On 22 Aug 2001 15:18:05 -0400, Benjamin Kahn wrote:
The problem is that gnome-vfs is trying to "sniff" the file type by
reading it.  Outlook winmail.dat files often (although it doesn't seem
to always be true) match the MPEG signature.  BTW -- here is the logic
in question:

0       string          \000\000\001\263        video/mpeg


On Wed, 2001-08-22 at 13:20, Scott Dixon wrote:
But it is Evolution which sets the content type in the multipart
attachment as video/mpeg.  If you examine the properties of the
attachment in Evo before it is sent, it shows up as video/mpeg.  So this
has nothing to do with Windows (or the receiver in general).  It is all
within Evo.
Scott
On 22 Aug 2001 13:05:17 -0400, Neil Cooler wrote:
Windows does not look at mime types when determining file types.  It
looks at extensions, so it thinks that .dat is an mpeg.

--neil

On Wed, 2001-08-22 at 12:36, Scott Dixon wrote:
Hi,
Someone has recently pointed out to me that a text file I sent as an
attachment (with a file name extension of .dat) was labeled as content
type video/mpeg.  Where is that controlled?  I don't see .dat as being
set as video/mpeg in the mimetypes capplet for example.  Is there some
place to control how the content type is set?
Scott


_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution






_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]