Skip to Content
Sep 24, 2016 at 10:08 AM

Get HTML Table in Mail Body of Outlook using Ole2Objects


Hello everyone,

I am struggling with the creation of a HTML Table within the mailbody of an Outlook E-Mail.

My Report is getting the necessary data in an internal table, then I convert it into a html table.
I call the Outlook Application via ol2objects but if I pass the table into the mailbody it get's populated with all html tags, even though I set the property 'BodyFormat' to '2' -> which should be html format.

Please help!

Thank you in advance,

Best Regards,