MAIL READ — VMS 5.5
Displays your messages. It can be entered with or without
parameters.
Pressing the RETURN key is the same as entering the READ command
without parameters. If you enter the READ command without
parameters or press RETURN immediately after MAIL is invoked, MAIL
displays the first page of your oldest unread message in your
NEWMAIL folder. If there are no unread messages, MAIL displays the
oldest message in the MAIL folder. Each time you enter the READ
command without parameters, or press RETURN, MAIL displays the next
page, or the next message if there are no more pages in the current
message.
If a new message arrives while you are in MAIL, you can enter
READ/NEW to read the message, and then return to the previous MAIL
activity.
Format:
READ [folder-name] [message-number]
Additional information available:
Parameters
folder-name Indicates the name of the folder containing the messages to be read. If a folder name is specified, MAIL displays messages from that folder. If no folder name is specified, MAIL displays messages from the current folder. message-number Indicates the number of the message to be read. The message number represents the position of a message in a folder. If you specify a number greater than the number of messages in the folder, MAIL displays the last message in the folder. Therefore, to read the latest message in a folder, specify a large message number or enter the LAST command.
Qualifiers
Additional information available:
/BEFORE/CC_SUBSTRING/EDIT/FROM_SUBSTRING/MARKED
/NEW/REPLIED/SINCE/SUBJECT_SUBSTRING/TO_SUBSTRING
/BEFORE
/BEFORE=date Displays mail messages received before the specified date.
/CC_SUBSTRING
/CC_SUBSTRING=text Selects messages which contain "text" in the CC field of the message.
/EDIT
/EDIT Invokes the editor to read the message.
/FROM_SUBSTRING
/FROM_SUBSTRING=text Selects messages that contain "text" in the FROM field of the message.
/MARKED
/[NO]MARKED Selects messages which have been marked. The /NOMARKED qualifier selects messages that are not marked.
/NEW
/NEW Displays new mail messages received while you are in MAIL.
/REPLIED
/[NO]REPLIED Selects messages which have been replied to with the REPLY command. The /NOREPLIED qualifier selects messages that have not been replied to.
/SINCE
/SINCE=date Displays mail messages received on or after the specified date.
/SUBJECT_SUBSTRING
/SUBJECT_SUBSTRING=text Selects messages which contain "text" in the SUBJECT field of the message.
/TO_SUBSTRING
/TO_SUBSTRING=text Selects messages that contain "text" in the TO field of the message.
Examples
1.
MAIL> READ/BEFORE=16-MAY
This example shows how to use the /BEFORE qualifier with the READ
command to display all the mail messages received before May 16,
1988 in the current folder.
2.
MAIL> READ/SINCE=13-OCT
This example shows how to use the /SINCE qualifier with the READ
command to display all the mail messages received on or after
October 13, 1988 in the current folder.
3.
MAIL> READ/NEW
This example shows how to read new mail received while you are in
MAIL.
4.
MAIL> READ/SUBJECT_SUBSTRING= REVIEW
# From Date Subject
1 JONES 13-APR-1988 Your Review
This example shows how to use the /SUBJECT_SUBSTRING qualifier to find
messages that contain the text REVIEW.