MAIL DELETE — VMS 5.5-2H4
Deletes either the message you are currently reading or the message
you just read and moves it to the WASTEBASKET folder. You may also
delete several messages by using a range or list of messages.
When you enter the EXIT or PURGE commands, your WASTEBASKET folder
empties automatically.
To recover a message accidentally deleted (while it is still in the
WASTEBASKET folder), SELECT the WASTEBASKET folder, READ the desired
message, and MOVE it to another folder.
Format:
DELETE [message-list]
Additional information available:
Parameters
message-list Deletes the message(s) specified by a number. You can specify only one number, a list of numbers, or a range of numbers.
Qualifiers
Additional information available:
/ALL
/ALL Deletes all the currently selected messages. Select a folder by entering the SELECT command followed by the name of the folder. (See the SELECT command for more information.)
Examples
1. MAIL> DIRECTORY
MAIL
# From Date Subject
1 MOON 11-APR-1988 Asteroids
.
.
.
5 MARK 11-APR-1988 The Yen
6 MARK 11-APR-1988 The Buck
MAIL> 5
MAIL> DELETE
MAIL> 6
MAIL> DELETE
MAIL> DIRECTORY
MAIL
# From Date Subject
1 MOON 11-APR-1988 Asteroids
.
.
.
5 (Deleted)
6 (Deleted)
This example shows how to delete messages 5 and 6 from the MAIL
folder. Enter the DIRECTORY command to show that these messages
are deleted.
1. MAIL> DELETE 1,3,5-7,9:11
This example shows how to delete a list and range of numbers by
using the hyphen and colon. Messages 1,3,5,6,7,9,10 and 11 are
deleted.