From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 08:38:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BF7416A41C for ; Wed, 22 Jun 2005 08:38:36 +0000 (GMT) (envelope-from mwalker@codegurus.org) Received: from codegurus.org (cpc2-stoc7-3-0-cust147.midd.cable.ntl.com [81.104.76.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1BFB43D4C for ; Wed, 22 Jun 2005 08:38:35 +0000 (GMT) (envelope-from mwalker@codegurus.org) Received: from codegurus.org (codegurus.org [192.168.0.1]) (authenticated bits=0) by codegurus.org (8.13.4/8.13.1) with ESMTP id j5M8bpXh082113 for ; Wed, 22 Jun 2005 09:37:51 +0100 (BST) (envelope-from mwalker@codegurus.org) From: Mick Walker To: "freebsd-questions@freebsd.org" Date: Wed, 22 Jun 2005 09:37:50 +0100 Message-Id: <1119429470.78612.15.camel@codegurus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: HTML Mail from Command Line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2005 08:38:36 -0000 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."