Check and correct Encoding and Timestamps of incoming Mails
Download Version 2.02 (Source in CP850 - therefore use "save as".)
Download Version 2.02 (ZIP)
This script helps solving problems with mails that do not comply with standards or which use "newer" encodings and which can therefore not be handled/displayed correctly by PMMail/2.
It began with just a few non-standard mails a couple of years ago, but now almost every second mail I get is already "mutated" and does not give a damn about standards or uses encodings that PMMail/2 is not able to handle - like UTF-8.
Most problems I have when it comes to encodings occour with German Umlauts or Ligatures. Therefore this script addresses German users of PMMail/2 in the first place. But since it corrects quite a few other problems as well it can be used by every PMMail/2 user that is left on earth...
The following main problems are being addressed by this script:
Missing header entries are added and incomplete entries are adjusted. While doing this one cannot rule out that in some mails this means the added or adjusted entries are not necessary. But according to my experience they don't do any harm either!
To let this script check every incoming message before it is dropped into your inbox, enter it in "Message Receive Exit" in your Account Settings on the REXX page as shown in the following picture:
For writing this script the Spamcheck Script by Winfried Tilanus was very helpful. For the implementation of the procedure CountStr I made good use of the Thoughts of Dallas Legan of the Southern California OS/2 User Group (SCOUG).
This page was last modified on 25.12.2005