I have gone down this road before but as of yet am still unsuccessful. I am going to give it another try.
I am able to send HTML mail (using HTMLbody property) via Outlook within our company network in a very simple manner. Let me explain ...
I create a document with Microsoft Word and save it as an HTML document.
Then in VFP I use the following code to send it ...
release all like o*
oApp = createObject("Outlook.Application")
oMail = oApp.CreateItem(0)
oMail.recipients.add("
someone@somewhere.com")
oMail.subject = "Mail Test"
oMail.HTMLbody = filetostr("test.htm")
oMail.send()
inkey(3)
release all like o*
return
It works like a charm.
However, when I send the same message outside of our building ....
It does not get delivered as HTML.
Am I the only one experiencing this problem or is this a universal problem ?
I have noticed that many of the emails I get from well recognized companies do not send HTML messages either. Is that because they too experience this difficulty. ??
Any thoughts from experienced emailers ?