home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / shackos2.zip / makepops.doc < prev    next >
Text File  |  1997-05-21  |  5KB  |  92 lines

  1.  
  2.              =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  3.                           MakePops.CMD Version 1.0
  4.                       InnoVal Systems Solutions, Inc.
  5.                                 May 5, 1997
  6.         -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  7.  
  8.     MakePops is a simple REXX program for OS/2 users to take the output
  9.     file from a HACKSAW EMAIL RETRIEVE subcommand (or, with slight
  10.     modification, any UNIX-style mail file, including those produced by
  11.     Netscape Navigator) and make an individual *.POP file out of each
  12.     message in it.  These *.POP files are compatible with InnoVal's Post
  13.     Road Mailer as well as many other email programs.
  14.  
  15.     To use this program, just give it two command line arguments.  First is
  16.     the file which contains the HACKSAW EMAIL RETRIEVE output.  Second is
  17.     the directory in which you want the *.POP files created.  If you don't
  18.     specify the second argument, the program will create the *.POP files in
  19.     the current directory.
  20.  
  21.     As it is, MakePops.CMD will only work on mail files created with
  22.     Hacksaw's default message separator.  If you want to use a different
  23.     separator between one message and the next (using the SEPARATOR
  24.     argument with your HACKSAW EMAIL RETRIEVE subcommand), you'll need to
  25.     modify line 61 of MakePops.CMD.  Or to use MakePops.CMD with standard
  26.     UNIX mail files (which are also the kind made by Netscape Navigator),
  27.     instead of HACKSAW's output files, comment out line 61 and uncomment
  28.     line 67 instead.  (That is, add "/*" to the beginning and "*/" to the
  29.     end of line 61, and remove those characters from the beginning and end
  30.     of line 67.)
  31.  
  32.     With MakePops.CMD to create Post Road Mailer-compatible *.POP files
  33.     from a Hacksaw email output file, you can use a batch file to refresh
  34.     multiple Post Road Mailer inbaskets at once.  (It should be just as
  35.     easy to implement this scheme for any other mail program that uses
  36.     *.POP-style email files.)  Here's the batch file I started using for
  37.     this purpose.  I called it REFRESH.CMD:
  38.  
  39.     -=-=-=-=-
  40.     @ECHO OFF
  41.     HACKSAW EMAIL RETR DEL(Y) LF(MAIL.TXT) REPLACE(Y) USER(abc) PW(def)
  42.     IF EXIST MAIL.TXT MAKEPOPS MAIL.TXT E:\POSTROAD\abc
  43.     HACKSAW EMAIL RETR DEL(Y) LF(MAIL.TXT) REPLACE(Y) USER(ghi) PW(jkl)
  44.     IF EXIST MAIL.TXT MAKEPOPS MAIL.TXT E:\POSTROAD\ghi
  45.     -=-=-=-=-
  46.  
  47.     (I have my POP3 server's name stored in my HACKSAW.INI file, so the
  48.     HACKSAW commands in the batch file don't need to specify it.)
  49.  
  50.     You just need one HACKSAW EMAIL RETRIEVE command and one IF EXIST
  51.     MAIL.TXT MAKEPOPS command for each inbasket.  The HACKSAW commands need
  52.     the appropriate host, userid, and password arguments; and the MAKEPOPS
  53.     commands need the appropriate directory specification, which is an
  54.     inbasket subdirectory of your Post Road Mailer installation directory.
  55.  
  56.     After mail is received, the next time you open a Post Road Mailer
  57.     inbasket which got new mail, it will be displayed there as if the Post
  58.     Road Mailer had been the one to retrieve the mail itself.  (You open a
  59.     Post Road Mailer inbasket by selecting its name from the bottom of the
  60.     File menu.  If an inbasket is open while HACKSAW retrieves mail and
  61.     MAKEPOPS.CMD puts it into the inbasket, the Post Road Mailer won't see
  62.     the new mail until the inbasket is opened again.)
  63.  
  64.     However, HACKSAW does not do anything with attached files, character
  65.     encoding, Post Road Mailer filters, and such things; and the Post Road
  66.     Mailer doesn't do anything with them except during receipt.  So in
  67.     order to get those types of things handled, there is one more step that
  68.     needs to be performed:  Receive the notes into the Post Road Mailer
  69.     inbasket as if from the POP3 server, through the Personal Post Office
  70.     (PPO) feature.
  71.  
  72.     If you rarely have messages with attachments and you don't use filters,
  73.     then you might want to do this only on those few messages that you get
  74.     which have attachments.  Move the *.POP file (message) in question to
  75.     an empty directory, set the PPO feature to receive messages from that
  76.     directory instead of from the POP3 server (second page of PRM settings
  77.     notebook), tell PRM to do a refresh, and then put the PPO setting back
  78.     to POP3.
  79.  
  80.     If you use filters, or expect encoded messages or messages with
  81.     attachments on a regular basis, you might want to do what I do:  I have
  82.     MakePops.CMD put the incoming messages into an empty directory instead
  83.     of into an inbasket directory.  And I have my inbaskets set to always
  84.     refresh from those directories instead of from the POP3 servers.  So
  85.     Hacksaw gets all my messages at once while I'm online, and puts them
  86.     into the empty directories; then later when I want to read an
  87.     inbasket's mail, I just open that inbasket and click on its Refresh
  88.     button.  This takes only a couple of seconds longer than opening the
  89.     inbasket alone takes, because refreshing from a PPO directory is so
  90.     much faster than refreshing from a POP3 server!
  91.  
  92.