Library /sys$common/syshlp/mailhelp.hlb
SELECT, Examples

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    1.MAIL> DIRECTORY/FOLDERS
      Listing of folders in DISK$APEX:[MACDONALD]MAIL.MAI;1
      Press Ctrl/C to cancel listing

      MAIL               JUNK
      NEWMAIL            WASTEBASKET

      MAIL> SELECT WASTEBASKET
      %MAIL-I-SELECTED, 3 messages selected
      MAIL> DIRECTORY

                                            WASTEBASKET
      #   From    Date               Subject

      1   MORRIS  11-DEC-1994        Venus Fly Traps
      2   MORRIS  21-DEC-1994        The Aloe
      3   BURT    22-DEC-1994        Scales

      This example shows how to use the SELECT command to move from
      the MAIL folder to the WASTEBASKET folder.

    2.MAIL> SELECT/BEFORE=12-DEC-1994
      %MAIL-I-SELECTED, 2 messages selected
      MAIL> DIRECTORY

                                            MAIL
      #   From    Date               Subject

      1   MARTY   10-DEC-1994        Food
      2   BART    11-DEC-1994        Soup

      This example shows how to display all the mail messages
      received before December 12, 1994.

    3.MAIL> SELECT/SUBJECT_SUBSTRING=report
      %MAIL-I-SELECTED, 3 messages selected
      MAIL> DIRECTORY

                                            MAIL
      #   From        Date               Subject

      1   MARSHALL    11-DEC-1994        Final Report
      2   CARBONE     15-NOV-1994        November 1994 Report
      3   BARTEN      23-OCT-1994        Annual report

      This example shows how to use the SELECT command to display
      mail messages containing the string "report" in the subject
      field of the message.

    4.MAIL> SELECT/NEW

      This example shows how to select all the new (unread) mail
      messages. Because NEWMAIL is the implied folder name, you do
      not need to specify a folder name.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.