[BSDCert] mail formatting
tillman at seekingfire.com
Thu Apr 14 10:56:58 EDT 2005
On Thu, Apr 14, 2005 at 10:30:50AM -0400, George R. wrote:
> Can we stick with text mail and drop the HTML, pls?
> Even with Apple Mail, this is killing me. . . I only wonder what it's
> like for those on Pine or Mutt.
It's annoying on mutt, but manageable. Toss this in your .muttrc:
# Set up handling of some other content types people like throwing at me
# The mailcap defines how to deal with certain MIME types
# It has entries that let us convert HTML and PostScript to text for Mutt
auto_view text/html application/postscript
# But I would still prefer Mutt's native stuff, if possible
alternative_order text/enriched text/plain
And add this to your ~/.mailcap:
text/html; elinks -dump -force-html %s; copiousoutput
application/postscript; ps2ascii %s; copiousoutput
With that, HTML and PostScript attachments are rendered by elinks to
text and appear reasonably presentable. I do something similar for other
attachment types, like MSWord documents, though I've mostly managed to
discourage people from sending me those sorts of things ;-)
HTML mail reminds me of a quote I have in my personal fortune
"As long as your email program is sending mine ASCII text through an
SMTP server [..] we're pretty much covered. (Some people believe in
throwing in HTML support, which is a bit like using colored paper and
glitter ink to improve your resume, but it takes all kinds.)"
-- Rob Landley, linuxandmain.com
To know what one ought to do is not enough.
- Prince Rhombur Vernius
More information about the BSDCert