MAILHELP.HLB  —  SEND
    Sends a message to one or more other users. 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 or users to
    receive the message. Reply with the user names or with the file
    names of distribution lists, using the following format:

           [[node-name::]user-name,...] [,] [@listname[,...]]

    If you entered the SET CC_PROMPT command or used the /CC_PROMPT
    qualifier, you can specify names of users to receive 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 do, the text in that file is sent to the specified users. If
    you do not specify a file, Mail prompts you for the text of your
    message.

    Enter the message you want to send, then press Ctrl/Z. Note that,
    once you type a line and press Return, there is no way to edit
    it. Using the /EDIT qualifier enables you to edit the entire
    message before you send it. The /LAST qualifier enables you
    to send the last message. The /LAST qualifier used with the
    /EDIT qualifier enables you to edit the last message you sent.
    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.
    Ctrl/Y exits you from Mail.

    Format

      SEND  [file-spec]

1  –  Parameter

 file-spec

    Indicates the name of the file to be sent.

2  –  Qualifiers

2.1    /CC_PROMPT

       /CC_PROMPT
       /NOCC_PROMPT

    Enables the prompt for the CC: line in the mail header. At the
    CC: prompt, enter the names of other users to whom you want to
    send a copy of the mail message.

    The /NOCC_PROMPT qualifier disables the CC: prompt. The /CC_
    PROMPT and /NOCC_PROMPT qualifiers override the SET CC_PROMPT and
    SET NOCC_PROMPT commands.

2.2    /EDIT

       /EDIT
       /NOEDIT

    Invokes a text editor to edit the message you are sending. Unless
    you have selected a different editor, the TPU-based EVE editor
    is invoked. The /NOEDIT qualifier overrides the SEND/EDIT command
    if you entered the DCL command MAIL/EDIT.

2.3    /LAST

    Specifies that the last message you sent will be used as text
    for the message you are currently sending. You can use the /LAST
    qualifier with the /EDIT qualifier to edit the message before
    sending it.

2.4    /PERSONAL_NAME

       /PERSONAL_NAME=name
       /NOPERSONAL_NAME

    Specifies a personal name to be used when answering a message.
    A personal name is a field of text that is appended to the end
    of the From: field of mail messages you send. You can fill this
    field with your full name or any other information.

    The /PERSONAL NAME qualifier overrides the default personal name
    specified with the SET PERSONAL_NAME command for this message
    only. The /NOPERSONAL_NAME qualifier sends a message with a null
    personal name field.

2.5    /SELF

       /SELF
       /NOSELF

    Determines whether Mail sends a copy of the response to you. The
    default qualifier is /NOSELF unless you entered the SET COPY_SELF
    command to specify that copies be sent to you automatically. The
    /NOSELF qualifier overrides the SET COPY_SELF SEND command.

2.6    /SIGNATURE_FILE

       /SIGNATURE_FILE[=file-name]
       /NOSIGNATURE_FILE

    Specifies a file to be appended to the end of a mail message.
    The signature file contains text and has a default file type of
    .SIG. An example of a signature file is a text file formatted
    as business card, containing the user's company name, address,
    telephone, and Internet address.

    Specify the /SIGNATURE_FILE qualifier when you want to override
    the default established by the SET SIGNATURE_FILE command (if you
    want to send a signature file that is different from that default
    specification). If there is no default setting, specify the
    /SIGNATURE_FILE qualifier to interactively include a signature
    file with a particular mail message.

    To determine if the SET SIGNATURE_FILE command is in effect, use
    the SHOW SIGNATURE_FILE or SHOW ALL command.

    When you use the /SIGNATURE_FILE qualifier, note the following:

    o  When you create a mail message that includes a signature
       file, that message requires more temporary disk space than
       a conventional message because temporary files are created
       during the operation. After the message is sent, those
       temporary files are deleted.

    o  If you do not specify a directory, the Mail utility looks for
       the signature file in your mail directory.

    o  If you do not specify a file, the Mail utility uses the file
       specification in your user profile. If there is no default
       signature file in the profile, Mail will send the message
       without one.

    o  If a specified signature file does not exist, the system
       displays an error message.

    Specify the /NOSIGNATURE_FILE qualifier when you do not want
    to include a signature file with a particular mail message.
    Specifying this qualifier overrides the current setting,
    including any specifications in your user profile.

2.7    /SUBJECT

       /SUBJECT="subject-text"

    Prompts for the subject of the mail message to be sent. Use
    quotation marks (" ") around the subject heading to include more
    than one word, to print in lowercase letters, or to include any
    spaces or nonalphanumeric characters.

3  –  Examples

    1.MAIL> SEND
      To: FLIGHT::WRIGHT
      Subj: Meeting
      Enter your message below.  Press Ctrl/Z when complete, Ctrl/C to quit:
      We will have our meeting on Monday, August 31st, as scheduled.
      Please make sure you are prompt.
         .
         .
         .
 <Ctrl/C>

      % MAIL_E_SENDABORT, no message sent
      MAIL> SEND/LAST/EDIT
      To: FLIGHT::WRIGHT
      Subj: Meeting date correction
      We will have our meeting on Friday, September 4th, as scheduled.
      Please make sure you are prompt.
         .
         .
         .
      [End of file]
      Buffer     MAIN                               |Insert  |  Forward
 <Do>

      Command:EXIT
      MAIL>

      This example shows how to edit the last message before sending
      it to user WRIGHT on node FLIGHT. To make a change in text,
      enter Ctrl/C and invoke the editor by entering the SEND/LAST
      /EDIT command. Edit the message you were in the process of
      entering, and send it by entering the EXIT command.

    2.MAIL> SEND/SELF/SUBJECT="Good Harbor"
      To: DAPPER::WAYNE
      CC: JACKSON
      Enter your message below.  Press Ctrl/Z when complete, Ctrl/C to quit:

      This example shows how to send a mail message to a user named
      WAYNE on node DAPPER and a copy of the message to user JACKSON.
      The /SELF qualifier enables Mail to send a copy of the same
      message back to you. The subject of the message is Good Harbor.
      Because the /SUBJECT qualifier was specified, there is no
      Subject: prompt.

    3.MAIL> SEND
      To: BAKER,MARSTON,@SUPERVISORS
      Subject: Handling Stress
      Enter your message below.  Press Ctrl/Z when complete, Ctrl/C to quit:

      This example shows how to send a mail message to two users
      (BAKER and MARSTON) and a distribution list (SUPERVISORS).

    4.MAIL> SET EDITOR EDT
      MAIL> SEND/EDIT
      To: WAMPUS
      Subject: Duck Activities
         .
         .
         .
 <Ctrl/Y>

         .
         .
         .
      $ EDIT/RECOVER/JOURNAL=SYS$SCRATCH:MAIL.JOU SYS$SCRATCH:DUCK.TMP
         .
         .
         .
      Command: EXIT
      DISK$WRITERS:[FLYNN]DUCK.TMP;1 14 lines
      $ MAIL
      MAIL> SEND DUCK.TMP
      To: WAMPUS
      Subject: Duck Activities

      This example shows how a user named FLYNN recovers an EDT
      editing session after being interrupted by Ctrl/Y. A temporary
      file named DUCK.TMP is created, which user FLYNN then sends
      to a user named WAMPUS. The /RECOVER qualifier may work
      differently with your selected editor.
Close Help