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

hth
Gautam

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to