MAIL DIRECTORY — MicroVMS 4.5B
Displays a list of the messages in the current mail file, including
message number, sender's name, date, and subject.
If "folder-name" is omitted, MAIL displays a directory of the
currently selected folder. If there is no currently selected
folder, MAIL displays a directory of the NEWMAIL folder (if unread
messages exist) or the MAIL folder. (See the SELECT command for
information about selecting messages.)
Format:
DIRECTORY [folder-name]
Additional information available:
Parameters
folder-name Indicates the name of the folder containing the messages you want to display.
Qualifiers
Additional information available:
/BEFORE/FOLDER/FULL/NEW/SINCE/START
/BEFORE
/BEFORE=date Displays a listing of all the mail messages received before the specified date.
/FOLDER
/FOLDER Displays a listing of all the folders contained in the current mail file.
/FULL
/FULL Displays the number of records in the message and whether you have replied to the message.
/NEW
/NEW Displays a listing of any new (unread) mail messages.
/SINCE
/SINCE=date Displays a listing of all the mail messages received on or after the specified date.
/START
/START=start-point Indicates the first message number you want to display. For example, to display all the messages beginning with number three, enter the command line DIRECTORY/START=3. Use the /START qualifier with the /FOLDER qualifier to indicate the first folder name you want to display. For example, to display all the folder names alphabetically following PLEAT, enter the command line DIRECTORY/START=PLEAT/FOLDER.
Examples
1.
MAIL> DIRECTORY
MAIL
# From Date Subject
1 MARK 11-APR-1985 The Yen
2 MARK 11-APR-1985 The Buck
3 BILL 13-APR-1985 The Pound
4 BILL 13-APR-1985 The Dollar
5 BILL 14-APR-1985 The Cent
6 MARK 17-APR-1985 The Dime
This example shows how to display a listing of all the messages in
the current folder by using the DIRECTORY command.
2.
MAIL> DIRECTORY/SINCE=13-OCT
MAIL
# From Date Subject
1 MARK 13-OCT-1985 The Yen
2 MARK 13-OCT-1985 The Buck
3 BILL 15-OCT-1985 The Pound
4 BILL 17-OCT-1985 The Dollar
5 BILL 20-OCT-1985 The Cent
6 MARK 21-OCT-1985 The Dime
This example shows how to use the /SINCE qualifier with the
DIRECTORY command to display a listing of all the mail messages
received on or after October 13, 1985 in the current folder.
3.
MAIL> DIRECTORY/FOLDER
Listing of folders in DISK$:[BACON]MAIL.MAI;1
Press CTRL/C to cancel listing
MAIL NEW_HIRES
PROJECTS SALES_LEADS
This example shows how to display a listing of all the folders in
the current mail file.