
/* History:
**   1.0   Very first release
**   1.1   Major Enhancements!
**         New code to allow user to program their own ppp
**         connection string!
**         Added variables for use in connection string.
**         Fixed dumb bug of not allowing typing into ID field.
**         Also added predefined templates for building connect 
**         strings to attach to compuserve (ppp) and Spry.
**         Added new command line args -noshow and -ex
**         Stopped sharing password with IBM software.
**   1.2   Window list now tells what dialip is doing when it is 
**         not showing.
**         Can autostart a program upon connection.
**         Updated get mail to use and index and name new mail:
**         mail_path\emINDEX.msg
**   1.3   Major Enhancements!
** 1996/12 Added: Higher priority to connection so it will work    
**         better (I was starting to not connect at night 
**         presumably when they were busier),
**         Do Not Hang Up If check for and find Mail (this
**         is so you can normally use the -hu flag so it
**         will normally hangup, unless it finds mail, 
**         then it will stay connected),
**         Manual mode connection, Inactivity Timeout,
**         MRU size, Flow Control flag.
**         Fixed: 1.2 might have hung up if you tried to start a 
**         2nd one when another was already connected.
**         Does not tie up program while dialing.  You can
**         tell it to hang up or exit if you change your mind.
**   1.4   Major Enhancements!    1997/02/27 
** 
**   1.4a   Fix    1997/03/23
**         1.4 blows out after retrieving mail.
**                
**   1.4f   Fix    1997/04/30
**         1.4e Blows out after hitting 'Build Connection String'
**         when creating a new id because you did not 'Load Settings'
**         SInce I was not creating new id.s I did not notice it.
**         Tried to make dates appear blank in notify window if they
**         Don't exist.
**         Added 'Program to run on each email' to pop id window.
**         Look in modem init strings.  If already has a \\ then do not
**         convert, else convert \ to \\ to help user.
**         Let Forward To field scroll.
**         For -sm option now use sendmail -q instead of mailq.exe
**         I think mailq.exe was forcing all mail to go to ISP mail
**         server whereas sendmail -q will route mail on local lan
**         first if applicable.
**         Included example rexx programs for starting dialip and
**         for showing how to use 'Program to run on each email'.
**
**   1.49  Beta:  Big upgrade.    1997/09
** 
**   1.49c Fixes/Upgrade    1997/09/23
**         On server window all id.s displayed on page 1 instead of their own.
**         Fixed blow out on scroll left/right in email servers windows.
**         Added 'Keep Connection Up' functionality to reconnect if connection dies.
**             Can start with -kcu or manually.
**   1.49d Fixes/Upgrade    1997/09/30
**         Fix for notify window.  It was not popping up.
**         Fix for some times blowing out doing get mail.
**         Added generic PAP option.  Extra Var.s 1 & 2 are login name and password.
**   1.49g Upgrade    1997/10/24
**         Added 2 more command-line args: -sac (Start After Connection) &
**         -sad (Start After Disconnect).  These allow you to set these fields in the
**         Dialip 'Starts' window from the command line.  -SAC allows you to start up
**         programs like email or netscape while starting dialip to make your ISP 
**         connection first.  Basically like linkup.exe does.
**   1.49h Upgrade    1997/12/30
**  Added: 
**        'Send Mail' to 'Mail' menu.  This sends queued mail for ALL pop id.s
**        'Delete Queued Mail' now works with your email client to delete queued
**            email from your client software package.
**
**        More integration with email client software packages.
**        For example, send mail should send any queued email from say your 'PM Mail'
**        outbox if that is your email client software.  It did not do this before.
**
**        POP ID.s window:
**        ----------------
**        
**        BUTTONS:  These buttons do these functions immediately for the pop id you are at.
**                        It makes it easy to just work with one persons mail.
**            SEND - sends email for this id.
**            CHECK - check email for this id.
**            GET & DEL - gets and deletes email for this id.
**            ONLY GET - only gets email for this id.
**            ONLY DEL - only deletes email for this id.
**            DEL QUEUED - deletes queued (to send) email for this id.
**      
**       * Error *
**       I have noticed that the sendmail is not working properly for Netscape.
**       It is sending all unsent msg.s to the first person that an unsent msg
**       went to as one combined letter!
**       Have to fix this.
**       At some rev. there might have been I problem with receiving mail into
**       Netscape's inbox too, but this I know works now.
**
**       A Change
**       If you choose 'Netscape/Mozilla' to integrate as your email client then
**       instead of putting 'x:\netscape\mail' in the MAIL STORE DIRECTORY field
**       on the pop id page, you put it in the EMAIL CLIENT BASE DIRECTORY field
**       on the mail page.
**
**   1.50 Upgrade    1998/Feb/07
**  Added: 
**       -clf and -dlf and menu options to make it easy to create or delete the
**       dialip.lok lock file.
**       Did some internal changing.  Hopefully it will not cause problems.
**       Also changed reading routine in a few spots.  I hope it will catch
**       those odd times when dialip gets hung up reading email.  My guess is it was
**       because the server timed out or had some other error that I was not
**       looking for.  So I put in an if statement to look for an error.  Hopefully
**       it will not slow downloading too much.  I tried once using 'Only Get Mail'
**       button and found a 440k file went from 169 seconds download to 158 seconds.
**       Only one test though as compared to dialip 1.49h (before the change).
**       Added action buttons per user to 'Email at Server' window also.
**
**   1.50b Fixes    1998/Feb/14
**       Major fixes for Netscape/Mozilla email client.  Deferred email now gets sent
**       properly.  If you had 9 deferred, 9 get sent as they should.
**       I also noticed some email was showing up in the inbox list but you could
**       not read it.  I tweaked that some more to make it more failsafe.
**       Also noticed mail indexes were not saving correctly for multiple pop id.s.
**       I fixed this.
**       Also tried fixing so that sending is done serially so as not to overlap each other.
**
**   1.50b2 Fix    1998/Feb/15
**       Fixed 'Del Queued' emails for Netscape/Mozilla
**
**   1.50b3 Tweak/Fix    1998/Feb/18
**       Compuserves new pop servers are finicky about an extra space and blew
**       out getting/checking email.  I fixed this.  Maybe others were finicky too and
**       this will fix them also.
**       It seems like you can run Netscape for windows 3.1 in winos2 (I used version 4.x)
**       after installing compuserve's virtual key (16 bit win 3.1) in winos2.  You 
**       'Activate' your pop server account and after that it looks like you can use
**       your regular OS/2 software like dialip with their pop servers without having 
**       to use the virtual key all the time.
**
**   1.50b4 Tweak    1998/Feb/19
**       Tweak for handling email without a 'From'.
**
**   1.50b5 Tweak/Fix    1998/Feb/19
**       Checked that Netscape/Mozilla email will coexists between win 3.1 version 4.0x
**       and OS/2 version 2.02.  Only difference is OS/2 uses 'outbox' while win 3.1 uses
**       'unsent'.  Dialip will send queued email from both.  You can even make both
**       versions point to the same directory to store the mail files.
*/


