On Sun, Mar 25, 2001 at 05:45:01PM -0500, Todd Goldenbaum wrote:
> On Sun, 25 Mar 2001, Charles Cazabon wrote:
>
> > 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 ...
>
> wow, and then if qmail is installed i guess that's what mutt would use to
> actually send it?
Yeah, to be absolutely sure add following to your .muttrc:
set sendmail="/var/qmail/bin/qmail-inject"
>
> todd
>
--
Kirill