tMail() and RichText (RTF)

tMail() and RichText (RTF)

Postby NK » Thu Feb 15, 2007 3:07 pm

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
User avatar
NK
 
Posts: 97
Joined: Sun Nov 20, 2005 4:32 pm
Location: Germany

Postby James Bott » Thu Feb 15, 2007 4:56 pm

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby NK » Thu Feb 15, 2007 8:18 pm

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
User avatar
NK
 
Posts: 97
Joined: Sun Nov 20, 2005 4:32 pm
Location: Germany

Postby James Bott » Thu Feb 15, 2007 9:59 pm

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Enrico Maria Giordano » Fri Feb 16, 2007 8:33 am

This is for Office Outlook:

Code: Select all  Expand view  RUN
oMail:HTMLBody = ...


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 26 guests