This section describes Version V04-000 of the VAX/VMS Personal Mail
Utility (MAIL). The following technical changes are new with this
release.
Mail files, by default, are indexed sequential (ISAM) files. V3 format
sequential files may be created or messages filed into existing old
mail files by using the EXTRACT/MAIL command.
With Version 4.0 of VAX/VMS, MAIL maintains a single-key ISAM file
(SYS$SYSTEM:VMSMAIL.DAT) containing the following information for
each user:
o Username
o Forwarding address (SET FORWARD)
o Personal name (SET PERSONAL_NAME)
o Copy SEND/REPLY flags (SET COPY_SELF)
o Autopurge flag (SET AUTO_PURGE)
o Mail file subdirectory name (SET MAIL_DIRECTORY)
New MAIL commands:
ANSWER
ATTACH
COMPRESS
COPY
CURRENT
DEFINE/KEY
EDIT
EXTRACT
FIRST
MAIL
MOVE
PURGE
SEARCH
SELECT
SET [NO]AUTO_PURGE
SET COPY_SELF
SET FILE
SET FOLDER
SET [NO]FORWARD
SET [NO]MAIL_DIRECTORY
SET [NO]PERSONAL_NAME
SET WASTEBASKET_NAME
SHOW ALL
SHOW AUTO_PURGE
SHOW COPY_SELF
SHOW FILE
SHOW FOLDER
SHOW FORWARD
SHOW KEY
SHOW MAIL_DIRECTORY
SHOW NEW_MAIL_COUNT
SHOW PERSONAL_NAME
SHOW WASTEBASKET_NAME
SPAWN
Changes to existing MAIL commands:
o DELETE command - VAX/VMS Version 4.0 provides two ways to use the
DELETE command. As in Version 3.0 of VAX/VMS, you can use the
DELETE command to remove the message you are currently reading.
Or, (new with Version 4.0), you can enter the DELETE command
followed by the number of the message you want to remove.
o DIRECTORY command - With Version 4.0 of VAX/VMS, the DIRECTORY
command lists a summary of all the messages in the current folder
(instead of the current message file). The new DIRECTORY command
can take six new qualifiers:
/BEFORE=date
/FOLDER
/FULL
/NEW
/SINCE=date
/START=start-point
o FILE command - With Version 4.0 of VAX/VMS, the behavior of the
FILE command has changed. Instead of moving a mail message to an
outside file (where you could access it from the DCL command
level), the FILE command now moves a mail message to another
folder, keeping the message within MAIL. If you do want to make
a mail message accessible outside of MAIL, use the EXTRACT
command. To add a message to an existing file, use
EXTRACT/APPEND. To add a message to an existing V3 sequential
mail file, use the EXTRACT/MAIL (PF3, on the VT100/LK201 keyboard)
command.
You can use the new MAIL command MOVE and the FILE command
interchangeably. Both commands copy a mail message to the
specified folder and delete it from the current folder.
o FORWARD command - With Version 4.0 of VAX/VMS, the FORWARD
command can take two new qualifiers: /EDIT and /NOHEADER.
o HELP command - With Version 4.0 of VAX/VMS, the HELP command
provides information about topics, such as "Folders" and
"Getting_started" as well as detailed information (including
examples) about all the available MAIL commands.
o PRINT command - With Version 4.0 of VAX/VMS, the PRINT command
can take three new qualifiers:
/COPIES=n
/NOTIFY
PRINT
o READ command - With Version 4.0 of VAX/VMS, the READ command
reads messages from the specified folder instead of the specified
message file. Three new qualifiers can be used with the READ
command:
/BEFORE=date
/NEW
/SINCE=date
o REPLY command - Version 4.0 of VAX/VMS provides two new
qualifiers for the REPLY command: /EXTRACT and /SELF.
o SEND command - Version 4.0 of VAX/VMS provides two new qualifiers
for the SEND command: /SELF and /SUBJECT.