home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
mg109.zip
/
MCHECK.DOC
< prev
next >
Wrap
Text File
|
1995-11-22
|
3KB
|
88 lines
Mcheck Version 1.09
Copyright (c) 1995, Dave Hamilton
What is Mcheck?
Mcheck is an OS/2 command line utility that checks for
newly arrived mail for you in your Squish or *.MSG data base.
You can specify as many areas in your data base that you
want checked, and you can specify all the user names you
use for your mail. Mcheck will report new, unread mail
for all specified users in all specified areas.
You should read the file MailGate.Doc for full details
on the MailGate program and its extra utilities.
Configuring Mcheck
Mcheck's configuration goes in your MailGate.Cfg file.
Just add lines to your existing .cfg file - Mcheck
will locate the file using the MAILGATE environment
variable (see mailgate.doc) or will look in the
current directory.
User names that you wish looked for are specified in
quotes:
mcname "Dave Hamilton"
mcname "daveh@proven.com"
mcname "Sysop"
Note that Mcheck ignores case when searching, so upper/lower
case doesn't matter.
Areas that you want searched are specified as directory paths.
If the area is a Squish area, add a $ to the end of the line.
Example - a *.msg area:
mcarea c:\max\msg\net
Example - a Squish area:
mcarea c:\max\email $
You can specify up to 20 users and 20 areas. We could probably
expand this, but it would take so long to check that you might
as well run your editor, which defeats the purpose of mailcheck.
Running Mcheck
Mcheck has two command line switches that can be used together
but probably would not be:
-v verbose: mcheck will display the to/from info for each
message. Adding v's ( -vvv ) increases the amount of
info displayed.
Example:
mcheck -v
-n notify: mcheck will notify you with an OS/2 PM window
on your desktop, if mail exists. This would normally
be used when mcheck is run by another process such
as CRON/2 at regular intervals. If mcheck finds mail,
a "sticky-note" is popped up on your OS/2 desktop.
Example:
mcheck -n
Note: to notify you, mcheck runs mwdog.exe, which must
be located somewhere in your PATH, or in the current
directory.
Mcheck is smart enough (now...) to run mwdog only once
even if it finds mail more than once, so you will only
ever have one message on your desktop.
To see what the note looks like, you can type
mwdog
at the command line, and it will display its message. Just
click on the "Ok" button to make it disappear.