mail
horio shoichi
bugsgrief at bugsgrief.net
Wed Dec 31 20:07:35 PST 2003
On Wed, 31 Dec 2003 15:46:33 -0600
"Chad Albert" <Chad.Albert at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
Depends on how you invoke mail, but one method:
cat file1 file2 ... filen|mail -s "a lot of files" $USER
horio shoichi
More information about the freebsd-questions
mailing list