Subject: Viewing html attachments in pine.

From: Nancy Lin <[email-masked]>
Date: Tue, 2 Mar 1999 13:43:35 -0800 (PST)

Hi -

I'm having trouble viewing html attachments in pine.

I've configured pine to search for the mailcap and mime.types
file in my home directory.

The mime.types file has the following lines:
  text/html                      html htm
  text/plain                     txt c cc h

I've browsed through this list's archives for info
and have tried adding either:

  text/html; shownonascii iso8859-1 %s; copiousoutpu
  ...
  ...

or

  text/HTML; lynx -force_html -dump %s; copiousoutput

to my mailcap file.  

When I send myself an html attachment, the status bar tells me
that it's "sending the attachemnt as TEXT/html"

But when I receive the file, it tells me:
    [ Part 2, ""  Text/PLAIN (Name: "test.html")  121 lines. ]
    [ Not Shown. Use the "V" command to view or save this part. ]

What am I missing?  Do I need to put something else in either the 
mime.types or mailcap file?  Why did it send it as text/plain anyway?

Any help is greatly appreciated.

-- 
Nancy

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Nancy Lin <[email-masked]>
Date: Wed, 3 Mar 1999 16:09:59 -0800 (PST)

Hi -

This is a followup to my question regarding mailcap and mime.types
yesterday.  

I've been poking around a bit more.  It seems that it doesn't matter
what you define in the mime.types file, what suffix your file has, or what
pine says it's sending your attachment as.  Pine will look through your
attachment and determine its type and change it if necessary.

For example, I named a file as blah.gif.  It only has the line "hihi"
in it.  I define in my mime.types file 
    image/gif    gif

When I send the file as an attachment, pine tells me that it's sending it
as image/gif.  However, when I receive it and I look at the content type,
it sent it as text/plain.  It's obviously looking through the file and
overriding what I told it the file should be.

My question is, is this a bug or a feature?

Thanks

-- 
Nancy