Katsuhiko Momoi wrote:
> 
> I don't know the answer to this question but what I would like to see is
> a contextual menu item "View attachment as text" which can temporarily
> override an unknown extension and let the user display the file as text.
> I wonder if there is a bug for something like that.

> > if I receive an email that has an attachment that is in normal text
> > format, but has an extension not known to Mozilla (e.g. .nfo) - how
> > can  I view it without saving it first?

FWIW, I believe (and hope) that Mozilla doesn't care about the file
extension at all, but goes by MIME type. So if you have control over the
program that is *sending* the mail, you can send the file with the
extension .nfo but MIME type text/plain, and Mozilla will display it
just fine.

Alternatively, you can set up a helper application for whatever MIME
type *is* being sent (if this doesn't appear in the GUI, you can
certainly see it in the View Source window of the email). Although this
would not enable you to view it inside Mozilla itself, you can assign
that MIME type to run Notepad, for example (note: internally, this would
download the file to a temporary location, but as far as the user is
concerned, it would appear to just be viewing it).

Stuart.

Reply via email to