I'm glad you're making headway :)
Well, you shouldn't need the display(), you should be able to do a send() instead. I just thought it would be easier to show the message...
What happens if you replace the oItem.display() with oItem.send()?
< UPDATE >
I forgot you were trying to put these in a folder to be reviewed...but you should still be able to do a save() without the display()...
>Now we're talking! I think the Display() did the trick. I didn't think I needed this since I'm just saving the message in a folder and not actually showing it, but now it works. Thanks!!!
>
>
>>You shouldn't have to do any thing with 'Body', and I don't think there is a 'BodyFormat' property (Outlook 2000, right?).
>>
>>Can you post the code that you are trying?
>>
>>On my system, the following code works (take spaces from beginning of HTML tags):
>>
>>
>>=sendSomeMail()
>>
>>procedure sendSomeMail
>> local oOutlook, ;
>> oItem, ;
>> lcHTMLSTring
>>
>> lcHTMLString = [< html>< body>Hello < b>world< /b>< /body>]
>>
>> oOutlook = createobject("outlook.application")
>> oitem = oOutlook.createitem(0)
>> oitem.recipients.add("somebody@somewhere.com")
>> oitem.subject = "Test HMTL message"
>> oitem.HTMLBody = lcHTMLString
>> oitem.display()
>> oitem = NULL
>> oOutlook = NULL
>>endproc
>>
>>
>>>I'm still trying to get this to work. I assume the properties I'm dealing with are Body,HTMLBody, and BodyFormat. One problem is that I don't know the constants for BodyFormat. I have a simple HTML file and when I use other utilities (wwIPStuff) to send a message, the HTML works. But with Outlook I still see just the code. Any more ideas?
>>>
>>>
Steve Gibson