home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / mg109.zip / MCHECK.DOC < prev    next >
Text File  |  1995-11-22  |  3KB  |  88 lines

  1.                               Mcheck Version 1.09
  2.                       Copyright (c) 1995, Dave Hamilton
  3.  
  4. What is Mcheck?
  5.  
  6.     Mcheck is an OS/2 command line utility that checks for
  7.     newly arrived mail for you in your Squish or *.MSG data base.
  8.  
  9.     You can specify as many areas in your data base that you
  10.     want checked, and you can specify all the user names you
  11.     use for your mail. Mcheck will report new, unread mail
  12.     for all specified users in all specified areas.
  13.  
  14.     You should read the file MailGate.Doc for full details
  15.     on the MailGate program and its extra utilities.
  16.  
  17. Configuring Mcheck
  18.  
  19.     Mcheck's configuration goes in your MailGate.Cfg file.
  20.     Just add lines to your existing .cfg file - Mcheck
  21.     will locate the file using the MAILGATE environment
  22.     variable (see mailgate.doc) or will look in the
  23.     current directory.
  24.  
  25.     User names that you wish looked for are specified in
  26.     quotes:
  27.  
  28.         mcname "Dave Hamilton"
  29.         mcname "daveh@proven.com"
  30.         mcname "Sysop"
  31.  
  32.     Note that Mcheck ignores case when searching, so upper/lower
  33.     case doesn't matter.
  34.  
  35.     Areas that you want searched are specified as directory paths.
  36.     If the area is a Squish area, add a $ to the end of the line.
  37.  
  38.     Example - a *.msg area:
  39.  
  40.         mcarea c:\max\msg\net
  41.  
  42.     Example - a Squish area:
  43.  
  44.         mcarea c:\max\email $
  45.  
  46.     You can specify up to 20 users and 20 areas. We could probably
  47.     expand this, but it would take so long to check that you might
  48.     as well run your editor, which defeats the purpose of mailcheck.
  49.  
  50.  
  51. Running Mcheck
  52.  
  53.     Mcheck has two command line switches that can be used together
  54.     but probably would not be:
  55.  
  56.     -v  verbose: mcheck will display the to/from info for each
  57.         message. Adding v's ( -vvv ) increases the amount of
  58.         info displayed.
  59.  
  60.     Example:
  61.  
  62.         mcheck -v
  63.  
  64.     -n notify: mcheck will notify you with an OS/2 PM window
  65.         on your desktop, if mail exists. This would normally
  66.         be used when mcheck is run by another process such
  67.         as CRON/2 at regular intervals. If mcheck finds mail,
  68.         a "sticky-note" is popped up on your OS/2 desktop.
  69.  
  70.     Example:
  71.  
  72.         mcheck -n
  73.  
  74.     Note: to notify you, mcheck runs mwdog.exe, which must
  75.     be located somewhere in your PATH, or in the current 
  76.     directory.
  77.  
  78.     Mcheck is smart enough (now...) to run mwdog only once
  79.     even if it finds mail more than once, so you will only
  80.     ever have one message on your desktop.
  81.  
  82.     To see what the note looks like, you can type
  83.  
  84.         mwdog
  85.  
  86.     at the command line, and it will display its message. Just
  87.     click on the "Ok" button to make it disappear.
  88.