Electronic Mail
- Communication in UNIX
- The mesg command
mesg [y|n]
- The write command
write <username>
- The mail command
- Create and send a new mail message
- Read and delete your mail messages
- Save a mail message
- Reply to a mail message (and include the original copy)
- Woops! Undelete a mail message
- UNIX E-mail
- Mail User Agent (MUA) mail
Runs in two modes:
- Read mode
You are in read mode when you invoke mail with no arguments.Commands:
- q - quits mail, saving read messages to mbox, leaving unread mail in your system mailbox.
- h - redisplay the header list of mail messages
- p# - print mail message number #
- d# - delete mail message number #
- r - reply to the current mail message (the one just read)
- u# - undelete a deleted mail message
- s filename - save the current message to another mailbox
- x - quit mail and mark all mail as unread and undeleted.
- Write mode
You are in write or send mode when you invoke
mail with arguments specifying the address of the recipients.
- Subject: provide the subject for your email message
- Text: type in the text of your message until you are through.
The type a period (.) on a line by itself.
Or you can type Control-D
- Cc: If you don't want to send copies of this email to anyone
else, just press the Enter key, and you will be finished.
- Mail Transfer Agent (MTA) sendmail
- PowerPoint Slides
- Other Mail User Agents for UNIX