RTF to HTML for email

RTF to HTML for email

Postby Marc Vanzegbroeck » Sat Jul 27, 2019 12:12 pm

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: RTF to HTPM for email

Postby cnavarro » Sat Jul 27, 2019 12:23 pm

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
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 49 guests