




                                  L   L  L   L
                                  LL LL  LL LL
                                  L L L  L L L
                                  L   L  L   L
                                  L   L  L   L


      LLLL   LLLLL   LLL   LLLLL   LLL   LLLL   LLLLL  LLLL    LLL   LLLL
      L   L  L      L        L    L   L  L   L  L      L   L  L   L  L   L
      LLLL   LLLL    LLL     L    L   L  LLLL   LLLL   LLLL   LLLLL  L   L
      L  L   L          L    L    L   L  L  L   L      L   L  L   L  L   L
      L   L  LLLLL   LLL     L     LLL   L   L  LLLLL  LLLL   L   L  LLLL


                             L   L  LL      L  LL
                             L   L L  L    LL L
                             L   L L  L   L L LLL
                              L L  L  L     L L  L
                               L    LL  L   L  LL




                           (C)  1996  Robert Hofmann





 1. Introduction
 ===============

  1.1 Legal stuff
  ---------------

   MM_RestoreBad is a script for  Mail Manager by  Pino Aliberti to restore msgs
   tossed into your #BADDIR. You need MM >= v1.2 to run it!

   The programs and files in this distribution are freely distributable, but are
   also Copyright (c) Robert Hofmann  except the bin-drawer.  They may be freely
   distributed as long as no  more than a nominal  fee is charged to  cover time
   and copying costs.

   No commercial usage is  permitted without written permission from the author.
   Everything in this distribution must be kept together, in original unmodified
   form and unmodified archive.


   MM_RestoreBad is mailware :-). This  means if  you use it, please write  me a
   short mail. You know,  it is frustrating  to write programs  and there are no
   responses from  the users if they  like it or  not... But of  course money is
   also welcome. ;-)


   Accepting these few points is the only condition for using MM_RestoreBad...


   =============================================================================
   The author is not responsible for any  problems caused by using this program!
   =============================================================================


  1.2 General stuff
  -----------------

   I am not the best in  writing doc, but quiet good  in coding I think :-) This
   docs are a bit  short I have to  appolognize, but I hope you'll understand it
   anyway... Especially my English and the typo's ;-)


   If there is  anybody out there  who is able to &  wants translate the docs to
   his own language, please do so and send them to me! I'll add them to the next
   release. Also translators always will get the newest betas! ;-)

   Unfortunatly I don't have the will & time to translate my docs even to German
   - my time is better used for coding :-)





  1.3 Author
  ----------

   If  you  have  suggestions  or remarks about this program, or if you find any
   bugs, please let me know.


   Contacting the author:

     Internet .. :  robert@next.amistep.osn.de (soon!)
     FidoNet ... :  2:2490/1015.0   (may change soon!)
     AmigaNet .. :  39:171/101.0

     Snail-mail  :  Robert Hofmann
                    Volkmannstr. 35
                    D-90443 Nürnberg
                    Tel. +49-(0)-911-9941680 (18-20h German time only!!!)
                    Germany

     Bank-Account:  Account-holder:  Robert Hofmann
                    Account-number:  67920
                    Bank-ID ..... :  76090000
                    Bank-name ... :  Volksbank Nuernberg e.G.





 2. Features
 ===========

  MM_RestoreBad...

     ... has a GUI to show the bad-msgs by real areatag & sender
     ... is able to restore the bad msgs to their original areas without
         causing dupes - nobody will know that the msg was bad ;-)
     ... is able to resore just a single msg or multiple marked ones





 3. Installation
 ===============

  1. Copy the MM-files to the corresponding MM:*/-directories.

  2. Add these lines to your MM.cfg:

     #BROWSEMENU "Restore msg"           "rx MM:Rexx/MM_RestoreBad %a MSG %n" ""
     #BROWSEMENU "Restore marked msgs"   "rx MM:Rexx/MM_RestoreBad %a MARKED" ""
     #BROWSEMENU "Select & Restore msgs" "rx MM:Rexx/MM_RestoreBad %a GUI"    ""





 4. Usage:
 =========

  [RX] MM_RestoreBad[.rexx] BADAREA/A,MSG/K/N,MARKED/S,GUI/S,NOREQ/S,EXPORT/S

     BADAREA        The name of your badarea. Normally you should use %a for the
                    area-name, because  MM_RestoreBad does a check if you are in
                    the correct area.
     MSG            Msgnumber of the current msg
     MARKED         Restore all marked msgs
     GUI            Use its GUI to select the msgs to restore
     NOREQ          Don't ask, just do it :-)
     EXPORT         Perform a SMARTEXPORT after restoring msgs





 5. Theory of operation
 ======================

  Basicly MM_RestoreBad is just  a GUI for the  MM_MoveMsg-command  of MM >=1.2.
  With this  command, you are  now alble to move a msg from any  area to another
  one.

  The GUI does only search for msgs moved to bad due to the node was not linked.
  For any other case, please select the msgs yourself by marking them.

  The selected msgs will just  be read, checked if  the area in the AREA:-kludge
  does exist and if so, move it there. If wanted, export those areas.

  Very simple, isn't it? ;-))





 6. Acknowledgements
 ===================

  Pino Aliberti     For his EXCELLENT Mail Manager! For  implementing nearly all
                    I wanted (this was much work I think and delayed the release
                    of MM for some  month ;-)) For  our hard but fair  fights in
                    MMBETA and at least for  the nice note  about me in the docs
                    8^))))










  _  o         Robert Hofmann         2:2490/1015@FidoNet   37:108/220@TrekNet
 |<)_/#                              39:171/101@AmigaNet   107:1805/230@TrekNet
 TT  <T  robert@next.amistep.osn.de  56:63/201@XNet        213:314/9127@XCessNet

