FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour tMail() and RichText (RTF)
Posts: 97
Joined: Sun Nov 20, 2005 04:32 PM
tMail() and RichText (RTF)
Posted: Thu Feb 15, 2007 03: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

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
tMail() and RichText (RTF)
Posted: Thu Feb 15, 2007 04: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 97
Joined: Sun Nov 20, 2005 04:32 PM
tMail() and RichText (RTF)
Posted: Thu Feb 15, 2007 08: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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
tMail() and RichText (RTF)
Posted: Thu Feb 15, 2007 09: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
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
tMail() and RichText (RTF)
Posted: Fri Feb 16, 2007 08:33 AM
This is for Office Outlook:

oMail:HTMLBody = ...


EMG

Continue the discussion