Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2005 09:37:50 +0100
From:      Mick Walker <mwalker@codegurus.org>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   HTML Mail from Command Line
Message-ID:  <1119429470.78612.15.camel@codegurus.org>

next in thread | raw e-mail | index | archive | help
Hi All,

How can I send HTML mail from the command line with freeBSD.

The command: 
cat design.HTML | mail -s "System Statistics" root

Simply emails the HTML file as a text file, where the HTML code is
clearly visible. What I want the to make the client see the content as
HTML, and act accordingly.

As I recall, when I have used other variants of *nix, the mail binary
comes with a -a flag to specify the content type, this does not appear
to be true with FreeBSD.

Does anyone know how I can achieve this?

--
Mick Walker
Website: http://www.codegurus.org
ICQ: 71032828
Y! Messenger: Materialised

Random Quote:
"Kirk to Enterprise -- beam down yeoman Rand and a six-pack."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1119429470.78612.15.camel>