home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / autorep3.zip / AutoReply.txt < prev    next >
Text File  |  1996-06-11  |  2KB  |  46 lines

  1. AutoReply.cmd
  2.  
  3. An autoresponse script for Inet.Mail
  4.  
  5. The AutoReply.cmd script will send an automatic response
  6. to the sender of the message based on the username the
  7. message was sent to.
  8.  
  9. This means you can setup a username of "info" and specify
  10. its local delivery process to be "autoreply.cmd". When
  11. Inet.Mail calls AutoReply, it will take the username
  12. passed in and append ".txt" to it. It will send this
  13. file back to the sender. If the username is "info", then
  14. the script will try to send back the file "info.txt".
  15.  
  16. You need to do a few things to make it work:
  17.  
  18. 1. On line 24 of AutoReply.cmd, put the hostname of your
  19. machine. Replace the 'host.domain' with your hostname. The
  20. single quotemarks are necessary.
  21.  
  22. 2. Put an environment variable in your config.sys as
  23.  
  24.   SET AUTOREPLY=c:\autoreplydir
  25.  
  26. Where it points to the directory containing the files to
  27. be sent back.
  28.  
  29. 3. Alternatively, comment out line 39 (using the rexx /* */
  30. comment delimenters. Then uncomment line 40. On line
  31. 40, set AutoReply equal to the directory storing your
  32. reply files.
  33.  
  34. 4. Set up as many usernames as you want autoreplies for. They
  35. should all start your AutoReply.cmd script. The script bases
  36. its reply on the username.
  37.  
  38. 5. The command files AppendLock.cmd, LockOpen.cmd, and
  39. LockClose.cmd need to be available on the PATH somewhere, or 
  40. in the autoreply directory. This is the same ones Steward 
  41. uses, so if it is on the path already, you're ok.
  42.  
  43. That's all there is to it.
  44.  
  45.  
  46.