From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 08:55:47 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 AADBA16A41C for ; Wed, 22 Jun 2005 08:55:47 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B32643D49 for ; Wed, 22 Jun 2005 08:55:47 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id j5M8ulb24813; Wed, 22 Jun 2005 01:56:47 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Mick Walker" , Date: Wed, 22 Jun 2005 01:55:42 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <1119429470.78612.15.camel@codegurus.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal Cc: Subject: RE: 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:55:47 -0000 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@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Mick Walker >Sent: Wednesday, June 22, 2005 1:38 AM >To: freebsd-questions@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@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" >