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 [EMAIL PROTECTED]

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 [EMAIL PROTECTED] -s 'Test' -a graph.pdf

-- 
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>.

Attachment: msg03302/pgp00000.pgp
Description: PGP signature

Reply via email to