Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 2004 12:32:07 +1100
From:      Gautam Gopalakrishnan <>
To:        Chad Albert <>
Subject:   Re: mail
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, Dec 31, 2003 at 03:46:33PM -0600, Chad Albert wrote:
> I am writing a script that mails me when certain events occur.  I am
> using mail(1) to notify me by email when some things happen.  I have
> read the man page and I don't see a way to attach a file, does anyone
> know how to use mail(1) to attach a file?

I don't know about mail, but you can do it easily with mutt.

cat textfile | mutt -s "subject" -a attachment address


Want to link to this message? Use this URL: <>