nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] I need to learn more about MIME


From: norm
Subject: Re: [Nmh-workers] I need to learn more about MIME
Date: Fri, 12 Sep 2014 11:12:19 -0700

Jon Steinhart <address@hidden> writes:
>address@hidden writes:
>> Is it true that, that possibly apart from mhbuild, the nmh user does not have
>> explicit control of the content type of a message? Based on my
>> experimentation, nmh must have a fairly complex heuristic for determining
>> content type. For example, I attached a file named "Chart.pj", That is, a 
>> file
>> whose suffix was not .java. But human intelligence reveals it to be a Java
>> source file. But nmh knew it was a java file; nmh set:
>>
>>      Content-Type: text/x-java; charset="us-ascii"; name="Chart.pj"
>>
>> Is there any documentation of that heuristic, maybe in source code comments?
>
>My memory on this is really fuzzy, but I think that if you use the attach
>stuff it uses the file command to get the file type.

The file command, here, thinks that Java source files are
"Perl5 module source text".


    Norman Shapiro



reply via email to

[Prev in Thread] Current Thread [Next in Thread]