Re: sending mal with attachments



On Mon, 16 Jan 2006 16:25:50 +0000
Glyn Millington <wistanswick@xxxxxxxxxxxxx> wrote:

> "bernard" <bernard_reims@xxxxxxxxxx> writes:
>
> > Hi,
> > I would like to send a mail to a user, with a file as attachment, and do it
> > in one line, without
> > going into a creation window or something else. In fact, I need to include
> > this line
> > in a batch file .
> > Do you know how I can manage this ?
>
> have a look at
>
> man mail

Last time I looked /bin/mail did *not* handle attachments, it'll
do for sending a plain text mail or even (with the aid of uuencode, cat
and a little care uuencoded binaries - but MIME is I think quite beyond
the capabilities of /bin/mail.

I think metasend from the metamail package is about the most
minimal implementation that will do the job.

> It really isn't hard!

Elucidate if I am wrong (I'd love to be proven wrong here).

--
C:>WIN | Directable Mirror Arrays
The computer obeys and wins. | A better way to focus the sun
You lose and Bill collects. | licences available see
| http://www.sohara.org/
.