MAIL SEND — VMS 5.4
Sends a message to another user(s). 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(s), in the following format:
[[nodename::]username,...] [,] [@listname[,...]]
If you have entered the SET CC_PROMPT command or used the /CC_PROMPT
qualifier, you can then specify names of users to receive carbon
copies of the message at the CC: prompt.
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 then receive the MAIL> prompt. CTRL/Z 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:
/CC_PROMPT/EDIT/LAST/PERSONAL_NAME/SELF
/SUBJECT
/CC_PROMPT
/[NO]CC_PROMPT Prompts for the carbon copy (CC:) recipient names. Overrides the SET CC_PROMPT command for this message only.
/EDIT
/[NO]EDIT Determines whether or not the 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. The /LAST qualifier can be used in conjunction with the /EDIT qualifier. This allows you to bring the last message you sent into the editor to modify and send again.
/LAST
/LAST Specifies that the last message you sent be used as the text for the message you are currently sending. The /EDIT qualifier can be used in conjunction with the /LAST qualifier. This allows you to edit the last message you sent.
/PERSONAL_NAME
/[NO]PERSONAL_NAME=name Specifies the personal name to be used when sending this message only. The /[NO]PERSONAL_NAME qualifier sends a reply with a blank personal name field.
/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. Since the /SUBJECT qualifier was specified, there is no
Subject: heading.
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).