home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / ONLINE / IMPRO / AUTORPLY.ZIP / autoreply.txt < prev   
Text File  |  1996-11-18  |  2KB  |  57 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.
  14.  
  15. You need to do a few things to make it work:
  16.  
  17. 1. On line 24 of AutoReply.cmd, put the hostname of your
  18. machine. Replace the 'example.com' with your hostname. The
  19. single quotemarks are necessary.
  20.  
  21. 2. Put an environment variable in your config.sys as
  22.  
  23.   SET AUTOREPLY=c:\autoreplydir
  24.  
  25. Where it points to the directory containing the files to
  26. be sent back.
  27.  
  28. 3. Alternatively, comment out line 39 (using the rexx /* */
  29. comment delimenters. Then uncomment line 40. On line
  30. 40, set AutoReply equal to the directory storing your
  31. reply files.
  32.  
  33. 4. Set up as many usernames as you want autoreplies for. They
  34. should all start your AutoReply.cmd script. The script bases
  35. its reply on the username.
  36.  
  37. 5. The following command files need to be available on the PATH
  38. somewhere:
  39.  
  40.    AppendLock.cmd
  41.    LockOpen.cmd     (included in the Steward distribution)
  42.    LockClose.cmd    (included in the Steward distribution)
  43.    Lock.cmd         (included in the Steward distribution)
  44.    CopyLock.cmd     (included in the Steward distribution)
  45.  
  46. 6. The From address will be set to the autoreply address. This means
  47. if your autoreply address is "info@example.com", then the From address
  48. of the message going back will list that.
  49.  
  50. 7. You may optionally specify a ReplyTo address to use for
  51. every message sent. This is on line 22. Put a fully qualified
  52. email address between the single quotes.
  53.  
  54. That's all there is to it.
  55.  
  56.  
  57.