Sending HTML email using ole automation with Outlook

patelajy used Ask the Experts™
Hi Everyone,
  I am trying to send an HTML email using a custom mail agent written in PB. Here I am using OLE automation with Outlook to send the HTML email. The problem I am having is that when I open the HTML email in YAHOO it renders as plain text with URL links to the images.

  I am aware that I need to somehow specify to Outlook the content-type of the mail. How can I do that? any suggestions are welcome.

Thank You
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
To create a message in html-format, you have to use the HTMLBody property instead of Body property. But note that this HTMLBody property is available staring from Outlook 98 only.


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial