On Thu, Apr 13, 2000 at 08:31:55PM +0000, rex wrote:
> On Thu, Apr 13, 2000 at 02:51:19PM -0400, David T-G wrote:
> > 
> > ...and then Belinda Roussel said...
> > % I need to send an html web page on Unix and I don't know how to. Could
> > % anyone please give me some guidance or direct me to a helpful web site
> > 
> > Although this is the list for users of, and questions specifically
> > pertaining to, the mutt mail program, perhaps someone can be of help.
> 
> She wants to periodically and automatically mail a web page from *nix
> to a Netscape user and have it appear as HTML, not as raw ASCII. I
> suggested:
> 
>   You can MIME encode and send from the command line with Mutt:
> 
>   mutt -s "daily data" -a ~/data.html [EMAIL PROTECTED] < ~/boilerplate_text
> 
>   "data.html" is the HTML formatted file, "boilerplate_text" is any file 
>   (to make mutt happy), and "[EMAIL PROTECTED]" is the recipient address . 

I don't understand why people insist on sending automatic mails with
mutt. It's a nice MUA and all, but for simply sending a single
MIMEencoded file with a content-type other than text/plain it's simply
the wrong tool.

I suggest using metasend from the metmail package. Sending a single file
is as simple as this:

metasend -D "Description" -e base64 -m "image/gif" -f "file_to_send" \
         -s "Mail_Subject" -S 1000000 -b -t [EMAIL PROTECTED]

for non-binary data use "quoted-printable" or "7bit" instead of base64.

> It seems to work, though there may be better ways. 

I think so. I used mutt some time ago, but I got annoyed by that extra
text/plain part that mutt required to be present.

CU,
    Sec
-- 
"Computers make very fast, very accurate, mistakes."

Reply via email to