HTML Mail from Command Line

Ted Mittelstaedt tedm at toybox.placo.com
Wed Jun 22 08:55:47 GMT 2005


pipe it through mimencode and do other massaging to it.  You do
realize HTML mail is not standardized, don't you?

Send yourself a few HTML mails from something like Outlook and
you can examine the structure and see what is missing and what
you have to do to make it look the same.

Ted

>-----Original Message-----
>From: owner-freebsd-questions at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Mick Walker
>Sent: Wednesday, June 22, 2005 1:38 AM
>To: freebsd-questions at freebsd.org
>Subject: HTML Mail from Command Line
>
>
>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."
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list