k***@gmail.com
2006-12-01 13:38:44 UTC
Hello,
I need an easy way to convert HTML email to plain text in Delphi. In VB
it's easy with CDONTS and AutoGenerateTextBody property (so even an
example with CreateOLEObject("cdo.message") will do).
The problem with simple functions and free components you find on the
internet is that they don't support everything they should (HTML4,
style sheets, cutting javescript code etc)
In VB it's:
Set msg = CreateObject("cdo.message")
msg.AutoGenerateTextBody = True
then msg.TextBody is your friend. How do I do this with Delphi?
M.K.
I need an easy way to convert HTML email to plain text in Delphi. In VB
it's easy with CDONTS and AutoGenerateTextBody property (so even an
example with CreateOLEObject("cdo.message") will do).
The problem with simple functions and free components you find on the
internet is that they don't support everything they should (HTML4,
style sheets, cutting javescript code etc)
In VB it's:
Set msg = CreateObject("cdo.message")
msg.AutoGenerateTextBody = True
then msg.TextBody is your friend. How do I do this with Delphi?
M.K.