Next: Saving Messages (mbox, s)
Up: Using Electronic Mail in
Previous: Replying to Mail Messages
Subsections
Deleting Mail Messages (d)
The mail you receive and read is held by the UNIX system
in mail. As long as your mail stays in the Mail program,
it will appear in the mail list. You can put mail
you receive into your mailbox,
which is in your home directory; see
section 10.5 Saving Messages on page
.
To save system disk space,
it is a good idea to delete mail messages you no longer need.
As soon as you have read a message,
you can delete it by using
the delete (d) command. For example, entering
d 1
at the & prompt in the Mail system will prevent Mail from saving
message 1.
Your deletions will take effect when you quit mail (q).
Undeleting Messages (u)
If you delete a message and suddenly realize you didn't want to
delete that message, you can undelete it,
which will restore the message. However, you can use
undelete only before you leave the current Mail session.
Once you leave Mail, you cannot retrieve
any messages you have deleted.
For example, to undelete message 1, enter:
u 1
at the & prompt.
HINT: To see a listing of your mail while you are in the Mail
System,
enter h (for headers) at the & prompt.
Next: Saving Messages (mbox, s)
Up: Using Electronic Mail in
Previous: Replying to Mail Messages
Send comments to consult@rpi.edu.