hbTIP : Email Body Html

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
Posts: 278
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 31 times
Been thanked: 39 times

hbTIP : Email Body Html

Post by AUGE_OHR » Sun Nov 17, 2019 8:59 am


i got hbTIP working and can use GetBody()
now when cBody is Html ... how to "encode" and "display" it :idea:

i found in c:\hmg.3.4.4\HARBOUR\contrib\hbtip\tests\dbtohtml.prg

Code: Select all

   oDoc := THtmlDocument():new()
      ? tip_HtmlToStr( oDoc:body:getText() )
so i try it this Way and fail

Code: Select all

    cBody := aEmail:getBody()
       CASE EMPTY(cBody)
       CASE "DOCTYPE html" $ cBody
          cBody := tip_HtmlToStr(cBody)
can someone please tell me how "encode" and "display" Html Email :?:

Post Reply