Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 2004 13:07:23 +0900
From:      horio shoichi <bugsgrief@bugsgrief.net>
To:        "Chad Albert" <Chad.Albert@myhealthcarefirst.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mail
Message-ID:  <20040101.040724.818fa8349a443434.10.0.3.9@bugsgrief.net>
In-Reply-To: <433CEE75B1339547BBB373B340665384116B16@hfmail01.sgf.healthcarefirst.med>
References:  <433CEE75B1339547BBB373B340665384116B16@hfmail01.sgf.healthcarefirst.med>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, 31 Dec 2003 15:46:33 -0600
"Chad Albert" <Chad.Albert@myhealthcarefirst.com> 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?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 

Depends on how you invoke mail, but one method:

	cat file1 file2 ... filen|mail -s "a lot of files" $USER


horio shoichi



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20040101.040724.818fa8349a443434.10.0.3.9>