[vox-tech] emailing an attachment

Tim Riley vox-tech@lists.lugod.org
Thu, 26 Sep 2002 10:49:29 -0700


Henry House wrote:

> 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?
> >
> > I would expect it to be:
> > mail -s "Here is your graph" --attach-file graph.pdf foo@foo.com
>
> The mail program is rather simple; I do not think that it supports MIME, the
> encoding standard that make attachments and non-ASCII messages possible. Try
> Mutt instead:
>
>         echo 'This is a test.' | mutt foo@foo.com -s 'Test' -a graph.pdf
>

Gotit. Thanks!

>
> --
> Henry House
> The attached file is a digital signature. See <http://romana.hajhouse.org/pgp>
> for information.  My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.
>
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature