home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Troubleshooting Netware Systems
/
CSTRIAL0196.BIN
/
attach
/
pcc
/
v08n03
/
netwrk.exe
/
FAXBAT13.ZIP
/
FAXBATCH.DOC
< prev
next >
Wrap
Text File
|
1994-05-27
|
4KB
|
91 lines
A simple network FAX gateway program, version 1.2.
Written by Peter Summers <u5533129@ucsvc.ucs.unimelb.edu.au>, 26 May 93.
(C) Copyright Cardiology Department, Royal Melbourne Hospital, Australia
May be freely distributed.
This software consists of two parts.
The client portion consists of the program FAXBATCH.EXE, which needs to
be available to anyone wanting to send a fax. FAXBATCH.EXE copies the
file specified to the mail directory of the Netware account FAX (by
default) on the current server, and creates a batch file containing
addressing information for sending out this file.
Optionally, the FAXBATCH program can prompt for a number (if none is
given), can delete the file if it is successfully queued, can use the
mail directory of a account named other than FAX, or can use any other
directory specified. A directory must be specified unless Novell
netware is running and a valid fax account exists.
Any characters other than the digits 0-9 are removed from the phone
number by FAXBATCH.
The Syntax for FAXBATCH is
FAXBATCH <file> [<number>] [/DEL] [/ACC <user>] [/DIR <faxdir>]
If no fax account or directory is specified, the directory to be used
will be read from the environmental variable FBDIR. If FBDIR is empty,
the account to be used will be read from FBACC, and if FBACC is empty
an account name of FAX is assumed.
FAXBATCH can be set up as a user defined gateway for Pegasus mail with
the following settings...
░░░░╔══════════════════════ User Gateway Definition ══════════════════════╗░░░░░
░░░ ║ ║░░░░░
░░░ ║ Gateway name : [FAX ] ║┐░░░░
░░░ ║ *New mail path : ║│░░░░
░░░ ║ Is a program to run? : N ║│░░░░
░░░ ║ *New mail search mask : ║│░░░░
░░░ ║ *Outgoing mail path : ~w ║│░░░░
░░░ ║ *Run for outgoing mail : faxbatch ~c ~t /del > nul ║│░░░░
░░░ ║ *Filename format : ~d~d.cnm ║│░░░░
░░░ ║ Run to validate address : ║│░░░░
░░░ ║ *Reply address format : ║│░░░░
░░░ ║ Accepts SMTP addresses? : N ║│░░░░
░░░ ║ Simple message headers? : No formatting ║│░░░░
░░░ ║ UUEncode attachments? : Y ║│░░░░
░░░ ║ Burst messages? : Y ║│░░░░
░░░ ║ Strip gateway name? : N ║│░░░░
░░░ ║ Force all mail through? : N ║│░░░░
░░░ ║ ║│░░░░
░░░ ╚═════════════════════════════════════════════════════════════════════╝░░░░░
...assuming that FAXBATCH.EXE can be found in your path.
The server portion of the software consists of batch files, a utility I
wrote for setting the DOS errorlevel from the length of a string and
some other useful utilities which I've collected over the years.
The file POLLSERV.BAT is used to poll for faxes on a particular server.
The syntax required is
POLLSERV [(server) [(username) [(password)]]]
If no server name is given, it is assumed that the default server is
being polled. If no user name is given, it is assumed that the server
is already attached. If no password is given, it is assumed that the
account is unpassworded.
POLLSERV maps drive I: to the directory containing faxes, and assumes
that drive F: is mapped to SYS: volume. If you wish to change this, you
will need to edit POLLSERV.BAT and SENDAFAX.BAT.
The file SENDAFAX.BAT is called by the batch files placed in the fax
directory. This will need to be modified to to suit your fax software.
If you find this software useful, please send me a mail message and tell
me so. This makes me feel good and encourages me to improve it. :-)
Enjoy!
Peter Summers <U5533129@ucsvc.ucs.unimelb.edu.au>
Cardiology Department Phone (+613/03) 342 8727 (B)
Royal Melbourne Hospital (+613/03) 387 4203 (H)
AUSTRALIA 3050 Fax (+613/03) 347 2808