RTF to HTML for email

Post Reply
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

RTF to HTML for email

Post by Marc Vanzegbroeck »

Hello,

Is it possible to convert the RTF created with richedit to HTML to create a HTMLBODY in the outlook object?

Thank you
Last edited by Marc Vanzegbroeck on Sat Jul 27, 2019 9:32 pm, edited 1 time in total.
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: RTF to HTPM for email

Post by cnavarro »

You have METHOD SaveAsHtml
Then, save file with format Html.
Open the file you created, and read the contents of the file ( METHOD cText() ), or select all text ( SelectAll METHOD )
I have never done it but I think it should work
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Post Reply