Page 1 of 1

tMail() and RichText (RTF)

Posted: Thu Feb 15, 2007 3:07 pm
by NK
Hello Fivewinners,

it is possible to send an eMail with tMail() in RichFormat (RTF from TRichEdit() )

RTF-Text as body-Text

Any ideas ?

Regards, Norbert

Posted: Thu Feb 15, 2007 4:56 pm
by James Bott
Norbert,

>RTF-Text as body-Text

Email has to be in HTML, so maybe you can find some way to do a conversion on-the-fly. One way might be using Word and OLE.

James

Posted: Thu Feb 15, 2007 8:18 pm
by NK
James Bott wrote:Norbert,

>RTF-Text as body-Text

Email has to be in HTML, so maybe you can find some way to do a conversion on-the-fly. One way might be using Word and OLE.

James
James,

and how do I send a html-text? if I send it over DEFINE MAIL only the html-code will displayed.

Regards Norbert

Posted: Thu Feb 15, 2007 9:59 pm
by James Bott
Norbert,

With MAPI and OE this is what I found.
If the attachment file is html (has a .htm or .html extension) and you do not specify any TEXT (a message) then the file will appear in the message area.
I have not tried this with Outlook.

James

Posted: Fri Feb 16, 2007 8:33 am
by Enrico Maria Giordano
This is for Office Outlook:

Code: Select all

oMail:HTMLBody = ...
EMG