From: Bill Kendrick nbs@sonic.net
To: vox-tech@lists.lugod.org
Subject: Re: [vox-tech] emailing an attachment
User-Agent: Mutt/1.3.22.1i
Date: Thu, 26 Sep 2002 12:02:55 -0700

On Thu, Sep 26, 2002 at 08:53:31AM -0700, Tim Riley wrote:
> Hi LUGOD:
>
> Does anyone know how to email an attachment
> from the command line?

Try 'mpack'


mpack -s "Here is your graph" -d some_description.txt graph.pdf foo@foo.com


If you're really lazy, you can send without a description:

mpack -s "Here is your graph" graph.pdf foo@foo.com


-bill!




Karsten Self comments:

mutt's '-a' option does this trivially as well:

mutt -s "An attached file" -a foo user@example.com
:w