Views
Mail copied.
The mail command
Mail is an intelligent mail processing system, which has a command syntax reminiscent of ed(1) with lines replaced by messages. :
mail -s "This is my subject" foo@example.com
This is my email message.
<Ctrl-d>
Cc:
Mail can also be used in a pipe:
cat message | mail -s "I send you this file" victim@example.org
If you are feeling so inclined, mail can also be used to read your mail. mutt is a better mail client,and can recreate very well the other functionality of Mail.