home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / comm / ermsg100.lha / EraseMsg.DOC < prev   
Text File  |  1993-03-20  |  3KB  |  89 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.              ##### ####   ###   #### ##### #     #  ####   ####
  7.              #     #   # #   # #     #     ##   ## #      #
  8.              ##### ####  #####  ###  ##### # # # #  ####  # ####
  9.              #     #  #  #   #     # #     #  #  #      # #    #
  10.              ##### #   # #   # ####  ##### #     #  ####   ####
  11.  
  12.                         Documents for EraseMsg v1.00
  13.  
  14.  
  15.  
  16. 1.  What is EraseMsg and how do I use it?
  17. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. EraseMsg deletes messages depending on the RECEIVED flag and the TO, FROM
  19. and SUBJECT fields.  
  20.  
  21. You could for example use it to automatically delete messages from some PC
  22. systems, that send you a netmail file attach message addressed to SysOp for
  23. each file you get.  
  24.  
  25. The program takes the following parameters: 
  26.  
  27. DIR - the directory where the messages are.  This could be
  28. "User:Jonas_Kvarnstrom" (substitute your own name) to delete the netmail
  29. messages mentioned above, or "Msg:100" to delete messages in area 100.  
  30.  
  31. FROM - a search pattern.  If the FROM field in the message header matches
  32. this pattern, the message will be deleted.  
  33.  
  34. TO - a search pattern.  If the TO field in the message header matches this
  35. pattern, the message will be deleted.  
  36.  
  37. SUBJECT - a search pattern.  If the SUBJECT field in the message header
  38. matches this pattern, the message will be deleted.  
  39.  
  40. RECEIVED - if this flag is set, all received messages will be deleted.  
  41.  
  42.  
  43. The search pattern is a standard AmigaDOS 2.0 pattern (this utility requires
  44. AmigaOS 2.0).  
  45.  
  46. Example: 
  47.  
  48.     EraseMsg DIR "Msg:100" FROM #?xyz#? 
  49.  
  50. This will delete all .msg files in message area 100, whose FROM field
  51. contains "xyz".  
  52.  
  53.  
  54. Please remember that it's enough for ONE of the conditions to be true for
  55. the message to be deleted.  
  56.  
  57.  
  58. NOTE:  The current version of EraseMsg doesn't delete entries from
  59. WaitingMail.DAT files.  It also doesn't change reply pointers, so messages
  60. can still be linked to deleted messages and reply chains can be broken.  It
  61. is primarily supposed to be used on private message areas, not on ordinary
  62. areas.  This will be fixed when TelePro release some documentation for
  63. DLG.library, so that I can use their library routines.  
  64.  
  65.  
  66.  
  67. 2.  Contacting the author
  68. ~~~~~~~~~~~~~~~~~~~~~~~~~
  69. You can reach me in several ways: 
  70.  
  71.   · By leaving a message on my BBS, Remote Control, +46-13-138113.  
  72.  
  73.   · By writing netmail to Jonas Kvarnstrom, 2:204/418.0@FidoNet.  
  74.  
  75.   · By writing e-mail to jk@augs.se.  
  76.  
  77.   · By writing a message in DLG_CHAT.  
  78.  
  79.   · By snailmail to Jonas Kvarnström, Gustav Adolfsgatan 2, 
  80.     582 20 Linköping, Sweden.  
  81.  
  82. ALL suggestions (and donations :-)) are welcome! 
  83.  
  84.  
  85.     __
  86.  __///
  87.  \XX/  Freeware - © 1993 Jonas Kvarnström.
  88.  
  89.