Charterhouse
Programmer
I am trying to create an email whose content is in HTML format type. The method code I'm using (in VFP8) is as follows:-
This works find for a plain text, but I cannot find any oMailItem.EmailType property or whatever it might be called in the Object Model for Outlook.
Also would the oMailItem.Body = have to be in HTML?
I sure this cannot be very difficult. Any Suggestions?
Code:
PARAMETERS pToWhom, pTitle, pBody
oOutlook = GETOBJECT(,"Outlook.Application")
oMailItem = oOutlook.CreateItem(0)
oMailItem.To = pToWhom
oMailItem.Subject = pTitle
oMailItem.Body = pBody
oMailItem.Save()
oMailItem.Send()
RELEASE oMailItem
RELEASE oOutlook
This works find for a plain text, but I cannot find any oMailItem.EmailType property or whatever it might be called in the Object Model for Outlook.
Also would the oMailItem.Body = have to be in HTML?
I sure this cannot be very difficult. Any Suggestions?