From owner-freebsd-questions Mon Jun 10 19:25:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from serv1.wallnet.com (server1.wallnet.com [208.225.162.122]) by hub.freebsd.org (Postfix) with ESMTP id 533FF37B406 for ; Mon, 10 Jun 2002 19:25:39 -0700 (PDT) Received: (from root@localhost) by serv1.wallnet.com (8.11.5/8.11.5) id g5B2PYH64641 for questions@freebsd.org; Mon, 10 Jun 2002 22:25:34 -0400 (EDT) (envelope-from timothyk@serv1.wallnet.com) Received: from localhost (timothyk@localhost) by serv1.wallnet.com (8.11.5/8.11.5av) with ESMTP id g5B2PXx64633 for ; Mon, 10 Jun 2002 22:25:33 -0400 (EDT) (envelope-from timothyk@serv1.wallnet.com) X-Authentication-Warning: serv1.wallnet.com: timothyk owned process doing -bs Date: Mon, 10 Jun 2002 22:25:33 -0400 (EDT) From: Tim Kellers To: Subject: html mail Message-ID: <20020610220846.C62418-100000@serv1.wallnet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG html mail, yes, we all hate it... Having said that, at work we are distributing a newsletter to a google-load of alumni, muckety-mucks and the like. Naturally, the newsletter needs to be posted as html mail. After wrestling with the problem of copying/pasting the html newsletter into mailman all afternoon, I ended up viewing the newsletter in Communicator, opening the file in Composer, pasting it into Messenger, mailing it to a shell account on one of our development servers, editting the message in joe (and/or vi --depending how my fingers felt at the time) to remove extra 'boundary' lines. Then chucking the entire resulting file at sendmail with: $ /usr/sbin/sendmail [listname]@dl1.njit.edu < filename Feeding it to sendmail like that got the To: and From: and Subject: fields right, and in Outlook, Web-based Outlook, IMP and OpenWebmail the file displayed as webpage; only in Kmail (so far) did the file display as text with an html attachment. Yes, I'm sending both text and html in the file so some clients (notably AOL's mail reader) can see the page. I feel like I'm re-inventing the wheel, has anyone else done this easier or can anyone suggest a glaringly obvious (or inobvious) utility I'm missing? I've already built "distribute" from /usr/ports/mail (and edited it to "see" the mailman lists directory) but, while it takes care of manually tossing the file to sendmail, I need a solution to make editting/pasting the original html files a bit easier. Thanks for any help, Tim Kellers CPE/NJIT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message