Sending mail with attachments from command line
I'm trying to figure out how to send an automatic email each week with an attachment on it. I know how to use mail to send something, but from what I can tell, you can't attach files with mail. I've also looked at mutt, which can do attachments, but I can't seem to get it to work right.
Can anyone show me the syntax for mail or mutt, or another option, for how I could do what I want. Let's assume the recipient is person@abc.com and the file to attach is weekly.txt.
Thanks for the input.
"We're on a mission from God"
--Elwood Blues
Registered Linux User #296184
Get Counted. http://counter.li.org