mail user[node]where user is the logon name of the recipient, and node is his/her machine.
After invoking mail, UNIX will come back and prompt the user for the subject of the message, as in:
prompt mail cantinThis is optional.
Once the subject is entered (and the carriage return pressed), mail is in input mode: anything entered is part of the message. End the message by entering a . (dot) on a line by itself, or press (CTL-d).
At that time, a
Cc:prompt will be displayed, allowing the sender to send copies to other users. Cc stands for Complimentary (or Courtesy) copy. Again, this is optional.
Enter a carriage return, and the piece of mail is sent out.
If the entire message has been previously created with an editor, and placed in file, it can be sent to user with
mail user file