hbTIP : Email Body Html

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

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

hbTIP : Email Body Html

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

hi,

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()
    DO CASE
       CASE EMPTY(cBody)
       CASE "DOCTYPE html" $ cBody
       ALTD()
          cBody := tip_HtmlToStr(cBody)
can someone please tell me how "encode" and "display" Html Email :?:

Post Reply