Library /sys$common/syshlp/MAILHELP.HLB  —  SEND  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