Outlook and htmlbody

Outlook and htmlbody

Postby Richard Chidiak » Thu Nov 04, 2010 4: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Outlook and htmlbody

Postby driessen » Thu Nov 04, 2010 4: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

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