Using WPTools as an HTML mail reader / editor

  • I'm trying to uses wptools 7 as an HTML mail display/editor component. I'm facing quite a lot of difficulties are have trouble settings all the options correctly for this to work.

    * There is the AsWebpage property with the wpFormatAsWebpage. With this flag set, most of the html is read but :
    - A red frame is displayed around tables (I've open another topic on that)
    - Some VERY simple html fail to display correctly :

    <html><body>a<br><br>b</body></html>

    The "b" is there but not displayed. Seem to be caused by the two br.

    If the flag wpFormatAsWebpage is not set, a lot of HTML does not even load. It fails with "Cannot assign <nil>!" Exception on line 15839 of WPRETDefs. When the html format correctly, hyperlinks are displayed very differently


    I've found some samples in the docs (#7) but beside setting wpFormatAsWebpage it doesn't tell me more.

    What's the recommended way to use wptools as an HTML display and editor ?

    Thanks

    Cyril