From: Ken Hornstein Date: Fri, 16 Mar 2012 17:21:38 +0000 (-0400) Subject: Improve the documentation for "send" a bit in terms of how it maps file X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=b4e9a392c63e07e09de31df596674c074eed2457;p=mmh Improve the documentation for "send" a bit in terms of how it maps file suffixes to MIME types. --- diff --git a/man/send.man b/man/send.man index 0f08c5d..843bd7d 100644 --- a/man/send.man +++ b/man/send.man @@ -96,14 +96,17 @@ The body of each header field whose name matches the is interpreted as a file name, and each file named is included as a separate part in the MIME message. .PP -For file names with dot suffixes, the context is scanned for a +For file names with dot suffixes, the profile is scanned for a .I mhshow-suffix- entry for that suffix. -The content-type for the part is taken from that context entry if a match is -found. +The content-type for the part is taken from that profile entry if a match is +found. If a match is not found in the user profile, the mhn.defaults +profile is scanned next. If no match is found or the file does not have a dot suffix, the content-type is text/plain if the file contains only ASCII characters or application/octet-stream -if it contains characters outside of the ASCII range. +if it contains characters outside of the ASCII range. See +.BR mhshow (1) +for more details and example syntax. .PP Each part contains a name attribute that is the last component of the path name. A