>>>>> "Suresh" == Suresh Ramasubramanian <[EMAIL PROTECTED]> writes:

    Suresh> +++ USM Bish [linux-india] <12/11/01 23:12 +0530>:
    >> Brilliant Binand, completely forgot about doing things through
    >> mutt (if installed). Making a LOST out of it.  There used to be
    >> another old one called "mpack" doing this sort of thing
    >> ... must be on the net still. Useful if mutt is not installed
    >> ... And this is really small ...

    Suresh> mpack / munpack - and there's good old mimedecode and
    Suresh> base64

I don't know about mpack/munpack, but the other programs mentioned can
only generate the encoded output. If you use them in scripts, you will
have to generate the MIME related headers, determine the mime type of
the file being sent, and properly attach the file (with the
--separator format), which is all quite a lot of work for a simple
script that sends a mail.

If you find mutt too for this purpose an overkill, there is this method:

sendfiles [EMAIL PROTECTED] "Here are the files" file1 file2 file3

Note that this program does the tar/compress on its own, there is no
need for you to do so.

Binand

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to