home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / pcc / v08n03 / netwrk.exe / FAXBAT13.ZIP / FAXBATCH.DOC < prev    next >
Text File  |  1994-05-27  |  4KB  |  91 lines

  1. A simple network FAX gateway program, version 1.2.
  2.  
  3. Written by Peter Summers <u5533129@ucsvc.ucs.unimelb.edu.au>, 26 May 93.
  4.  
  5. (C) Copyright Cardiology Department, Royal Melbourne Hospital, Australia
  6.  
  7. May be freely distributed.
  8.  
  9. This software consists of two parts.
  10.  
  11. The client portion consists of the program FAXBATCH.EXE, which needs to
  12. be available to anyone wanting to send a fax.  FAXBATCH.EXE copies the
  13. file specified to the mail directory of the Netware account FAX (by
  14. default) on the current server, and creates a batch file containing
  15. addressing information for sending out this file.
  16.  
  17. Optionally, the FAXBATCH program can prompt for a number (if none is
  18. given), can delete the file if it is successfully queued, can use the
  19. mail directory of a account named other than FAX, or can use any other
  20. directory specified.  A directory must be specified unless Novell
  21. netware is running and a valid fax account exists.
  22.  
  23. Any characters other than the digits 0-9 are removed from the phone
  24. number by FAXBATCH.
  25.  
  26. The Syntax for FAXBATCH is
  27.  
  28.   FAXBATCH <file> [<number>] [/DEL] [/ACC <user>] [/DIR <faxdir>]
  29.  
  30. If no fax account or directory is specified, the directory to be used
  31. will be read from the environmental variable FBDIR.  If FBDIR is empty,
  32. the account to be used will be read from FBACC, and if FBACC is empty
  33. an account name of FAX is assumed.
  34.  
  35. FAXBATCH can be set up as a user defined gateway for Pegasus mail with
  36. the following settings...
  37.  
  38. ░░░░╔══════════════════════ User Gateway Definition ══════════════════════╗░░░░░
  39. ░░░ ║                                                                     ║░░░░░
  40. ░░░ ║              Gateway name : [FAX             ]                      ║┐░░░░
  41. ░░░ ║            *New mail path :                                         ║│░░░░
  42. ░░░ ║    Is  a program to run? :  N                                      ║│░░░░
  43. ░░░ ║     *New mail search mask :                                         ║│░░░░
  44. ░░░ ║       *Outgoing mail path :  ~w                                     ║│░░░░
  45. ░░░ ║    *Run for outgoing mail :  faxbatch ~c ~t /del > nul              ║│░░░░
  46. ░░░ ║          *Filename format :  ~d~d.cnm                               ║│░░░░
  47. ░░░ ║   Run to validate address :                                         ║│░░░░
  48. ░░░ ║     *Reply address format :                                         ║│░░░░
  49. ░░░ ║   Accepts SMTP addresses? :  N                                      ║│░░░░
  50. ░░░ ║   Simple message headers? :  No formatting                          ║│░░░░
  51. ░░░ ║     UUEncode attachments? :  Y                                      ║│░░░░
  52. ░░░ ║           Burst messages? :  Y                                      ║│░░░░
  53. ░░░ ║       Strip gateway name? :  N                                      ║│░░░░
  54. ░░░ ║   Force all mail through? :  N                                      ║│░░░░
  55. ░░░ ║                                                                     ║│░░░░
  56. ░░░ ╚═════════════════════════════════════════════════════════════════════╝░░░░░
  57.  
  58. ...assuming that FAXBATCH.EXE can be found in your path.
  59.  
  60. The server portion of the software consists of batch files, a utility I
  61. wrote for setting the DOS errorlevel from the length of a string and
  62. some other useful utilities which I've collected over the years.
  63.  
  64. The file POLLSERV.BAT is used to poll for faxes on a particular server.
  65. The syntax required is
  66.  
  67.   POLLSERV [(server) [(username) [(password)]]]
  68.  
  69. If no server name is given, it is assumed that the default server is
  70. being polled.  If no user name is given, it is assumed that the server
  71. is already attached.  If no password is given, it is assumed that the
  72. account is unpassworded.
  73.  
  74. POLLSERV maps drive I: to the directory containing faxes, and assumes
  75. that drive F: is mapped to SYS: volume.  If you wish to change this, you
  76. will need to edit POLLSERV.BAT and SENDAFAX.BAT.
  77.  
  78. The file SENDAFAX.BAT is called by the batch files placed in the fax
  79. directory.  This will need to be modified to to suit your fax software.
  80.  
  81. If you find this software useful, please send me a mail message and tell
  82. me so.  This makes me feel good and encourages me to improve it.  :-)
  83.  
  84. Enjoy!
  85.  
  86. Peter Summers                  <U5533129@ucsvc.ucs.unimelb.edu.au>
  87.  
  88. Cardiology Department               Phone   (+613/03) 342 8727 (B)
  89. Royal Melbourne Hospital                    (+613/03) 387 4203 (H)
  90. AUSTRALIA  3050                     Fax     (+613/03) 347 2808
  91.