Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Parameters

Qualifiers

Examples

/EDIT

/LAST

/SELF

/SUBJECT

MAIL MAIL — MicroVMS 4.5B

  Sends a message to another user(s).  The MAIL command works like the
  SEND command.

  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  MAIL
  command.

  You can include a file specification with the MAIL command.  If  you
  specify  a file with the MAIL 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:

       MAIL [file-spec]

Additional information available:

ParametersQualifiersExamples

Parameters

 file-spec

  Indicates the name of the file to be sent.

Qualifiers

Additional information available:

/EDIT/LAST/SELF/SUBJECT

/EDIT

 /[NO]EDIT

 Determines whether or not the EDT  editor  is  invoked  to  edit  the
  message  you  are  sending.   The  /NOEDIT  qualifier  overrides the
  MAIL/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 MAIL command.

/SUBJECT

 /SUBJECT="subject-text"

 Specifies the subject of the mail message to be sent.

Examples

  1.
       MAIL> MAIL
       To:      TERA::LINDEN
       Subj:    Vacation
       Enter your message below.  Press CTRL/Z when complete, or CTRL/C to quit:


  This example shows how to use the MAIL command to send a message  to
  a user named Linden on node TERA.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026