[pmmail-list] Using both OS/2 and Win2K

Ralph Cohen pmmail-list@blueprintsoftwareworks.com
Tue, 14 May 2002 22:23:03 -0400


On Tue, 14 May 2002 19:00:28 -0700 (PDT), Chris Ayers wrote:

>
>For OS/2's PMMail icon, under "Properties" "Working Directory" put the
>path of the directory where you have your mailbox.  For Win2K's PMMail
>icon, under "Properties" "Target" add the full path and file name of
>your PMMail data file.  That should work.  I have not as yet loaded
>PMMail on my Win2K box although I do have both licenses.
>

Hi Chris,

The only thing I would add is a modification to PMMail Win executable
that tremendously speeds up access to mail stored on an OS/2 system
when accessing from a Windows system.  I don't know who originally
wrote the following, but I've used the procedure with great success on
everything through the last beta.  

=-=-=-=-=
The speed problem of PMMail under Win98SE / Win2000 when running
from a mapped network drive is NOT a problem of Windows but one of
PMMail: Every time a message is selected for reading (Preview pane
or double click) PMMail splits header and body of the mail and
transforms the body to rich text format which is then loaded into
the viewer. The implementation of this transformation is very poor,
since PMMail converts line by line instead of reading the mail body
in, converting it in memory and writing it back to disk. This causes
heavy network I/O load! Since 98SE and 2000 cache network file I/O
in a different manner from the other Windows versions, this
behaviour leads to trouble. The solution is to let PMMail create the
.rtf intermediate file on the local disk. Unfortunately it has no
setting for it nor does it obey the standard TMP environment
variable. So you have to patch the binary:

Get a Hex editor, close PMMail, search for the string
".\temp\temp.rtf" in the file pmmailw.exe and replace it by the
string "c:\tmp\temp.rtf". Create the directory c:\tmp, if not
already there and start PMMail again. Enjoy the speed...
=-=-=-=-=

The only thing I would add, is that there are 7-8 of these path entries
in the pmmailw.exe file and I didn't know if there was a particular one
that needed to be changed, so I did a search and replace and changed
them all.  Everything's worked fine since.  Of course, make a backup of
your original file so you'll be sure not to need it.<g>

Ralph

- pmmail-list - The PMMail Dicussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com

To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com with the first 
line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------