Dialer for PMMail for OS/2

Simon Thompson PMMAIL Discussion List <PMMAIL-L@VM.EGE.EDU.TR>
Fri, 5 Mar 1999 10:10:59 +1300


On Thu, 4 Mar 1999 19:37:25 +0000, John Anthony wrote:

>     I have been a PmMail (v. 1) user for a couple of years, and just
>     purchased PmMail/2 from Indelible Blue.  I am using the PPP dialer in
>     OS/2 Warp 4 to make my ISP connections, but was wondering if there was
>     a REXX script (or something else) available that would automatically
>     call up the SLIP dialer when I click on the PmMail/2 icon to connect.
>     This would make checking my email a (simplified) one-step process.
>     Any suggestions?

I use the following REXX script (with version 1.95):

/* REXX

 The following REXX program logs into the network, and gets E-Mail.
  Once it has retrieved E-Mail, it closes the dialer.

*/

call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
'@echo off'
say   'Starting the dialer...'
start 'DIALER nzinet <user> <password> -autostart_disabled'
say   'Waiting 40 seconds...'
call  SysSleep 40
'cd E:\Southsde\PMMail'
'PMMail /f'
say   'Close (and hangup) the dialer.'
start 'DIALER   -close'

exit

You could modify it to not close the dialer if you wanted to stay
online.

I would also like it to not close PMMail after getting new messages;
not sure if that is possible, I have not tried. I suppose you could
restart PMMail afterwards.


-------------------------------------
Simon Thompson (scthomp@ibm.net)
Christchurch
New Zealand