[ale] Mimencode

Kenneth W Cochran kwc at world.std.com
Thu Jul 19 10:41:51 EDT 2001


Hi:

I have done "something like this" using "mmencode."
How I Did It:
0.  have available binary-thing that I want to email as MIME.
1.  compose message - will become the ".desc" portion
2.  use "mmencode" to make the "complete" message.
3.  "mail" it :)

Of course, this could (hmmm, "should") all be scriptable.
Try some "experimenting" with with mmencode. :)  The
manpage mentions the appropriate flags... :)

Someone mentioned "metasend."  I haven't tried that (yet :), but
that seems reasonable too...

-kc

>Date: Wed, 18 Jul 2001 14:57:46 -0400
>From: Bob Kruger <krugerb at benning.army.mil>
>To: ale at ale.org
>Subject: [ale] Mimencode 
>
>Has anyone use mimencode or mmencode with success in attaching binary
>files to email messages?
>
>In the past, if I wanted to send a spreadsheet named "daily.xls" to a
>mailing list, I could do the following with a simple bash script.
>
>#!/usr/bin/bash
>(cat list.txt;uuencode daily.xls daily.xls) | /usr/sbin/sendmail -t
>
>Note - file list.txt has the To:, From:; Subject, etc.  info.
>
>The following will generate a message, but my mail client (Netscape)
>does not recognize or decode the result, so I have a nice long text
>file.
>
>#!/usr/bin/bash
>(cat list.txt;mmencode daily.xls) | /usr/bin/sendmail -t
>
>Any hints or clues?
>
>Regards - Bob Kruger
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list