Date: Mon, 10 Jun 2002 22:25:33 -0400 (EDT) From: Tim Kellers <timothyk@serv1.wallnet.com> To: <questions@freebsd.org> Subject: html mail Message-ID: <20020610220846.C62418-100000@serv1.wallnet.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020610220846.C62418-100000>