MAIL SEND — MicroVMS 4.5B
Sends a message to another user(s). You can use the SEND command
and the MAIL command interchangeably because they work the same way.
MAIL prompts you first for the name of the user(s) to receive the
message. You reply with the user name(s) or with the file name of a
distribution list file, in the following format:
[[nodename::]username,...] [,] [@listname]
Next, MAIL prompts you for the subject of the mail. To avoid the
"Subj:" prompt, specify the /SUBJECT qualifier with the SEND
command.
You can include a file specification with the SEND command. If you
specify a file with the SEND command, the text in that file is sent
to the specified user(s). If you do not specify a file, MAIL
prompts you for the text of your message.
Enter the message that you want to send; then press <CTRL/Z>. Note
that once you have typed a line and pressed RETURN, there is no way
to edit it. If you decide not to send a message you are typing but
want to stay within the Mail Utility, press <CTRL/C> to abort the
message. You will then receive the MAIL> prompt. CTRL/Y exits you
from MAIL.
Format:
SEND [file-spec]
Additional information available:
Parameters
file-spec Indicates the name of the file to be sent.
Qualifiers
Additional information available:
/EDIT
/[NO]EDIT Determines whether or not the EDT editor is invoked to edit the message you are sending. The /NOEDIT qualifier overrides the SEND/EDIT default if you entered the DCL command MAIL/EDIT. If you specify the /EDIT qualifier with the /LAST qualifier, the /EDIT qualifier is ignored.
/LAST
/LAST Specifies that the last message that you sent be used as the text for the message you are currently sending.
/SELF
/[NO]SELF Determines whether or not MAIL sends a copy of the message you are sending back to yourself. The /NOSELF qualifier overrides the SET COPY_SELF SEND command.
/SUBJECT
/SUBJECT="subject-text" Specifies the subject of the mail message to be sent.
Examples
1.
MAIL> SEND/LAST
To: FLIGHT::MYERS
Subj: Geometric Concepts
MAIL>
This example shows how to send a copy of the last mail message you
sent to a user named Myers on node FLIGHT.
2.
MAIL> SEND/SELF/SUBJECT="Good Harbor"
To: DAPPER::WAYNE
Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit:
This example shows how to send a mail message to a user named Wayne
on node DAPPER. The /SELF qualifier enables MAIL to send a copy of
the same message back to you. The subject of the message is Good
Harbor.
3.
MAIL> SEND
To: BAKER,MARSTON,@SUPERVISORS
Subject: Handling Stress
Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit:
This example shows how to send a mail message to two users (BAKER
and MARSTON) and a distribution list (SUPERVISORS).