FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Outlook and htmlbody
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Outlook and htmlbody
Posted: Thu Nov 04, 2010 04:34 PM

Hello

I want to use the htmlbody with outlook for sending mail

oMail:HTMLBody := CHTML where chtml contains text and image

When i send my message , i get an error

I am using windows 7

Thanks for your help,

Error description: Error Outlook.Application:CREATEITEM/9 L'élément a été déplacé ou supprimé.: _HTMLBODY
Args:
[ 1] = C <html><body><p><img border="0"src="http://cbati.com/mylan.jpg" width="600" height="200"></p><p>"Texte test"</p></body></html>

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Outlook and htmlbody
Posted: Thu Nov 04, 2010 04:46 PM

Richard,

I use htmlbody without any problem.

But what do I do ?

First, I write my text in a file (let's call it here "cFile")

And then I do : oMail:htmlbody := MEMOREAD(cFile)

I must admit there are no pictures in cFile, only text.

But this way, it's working fine.

Good luck.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion