Plain Text when sending e-mail with Navision

I am using the standard code in Navision 3.70 to produce e-mail. The e-mail that is produced is always in plain text even though my outlook has been set to always send e-mail using HTML. Is there a property or method in the Outlook Automation object that I can set to force HTML format?

Try these:

  • Outlook.MailItem.HTMLBody
  • Office.MailFormat.mfHTML
  • Outlook.OlBodyFormat.olFormatHTML
    I found this the following way:- In Outlook choose Tools | Macro | Visual Basis Editor (ALT-F11)
  • In the VB-editor choose View | Object Browser (F2)
  • Do a search on “html”