Todd Goldenbaum <[EMAIL PROTECTED]> wrote:
> 
> I am using perl to construct and send qmail messages, and I've found it very
> easy with qmail-inject.  But I'm confused about attachments... I found this
> suggestion from the archives of this list:
> 
> % cat {filename} | uuencode {filename} | /var/qmail/bin/qmail-inject 
>[EMAIL PROTECTED]
[...]

Install mutt.  Then just do the following, to create MIME-type file
attachments:

echo "This is the message body.
It can have multiple lines." \
  | mutt -a /path/to/file1 -a /path/to/file2 recipient1 recipient2 ...

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to