From b4e9a392c63e07e09de31df596674c074eed2457 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Fri, 16 Mar 2012 13:21:38 -0400 Subject: [PATCH] Improve the documentation for "send" a bit in terms of how it maps file suffixes to MIME types. --- man/send.man | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 -- 1.7.10.4