do-send-email in html not working after upgrade to IDM 4.8

  • 7024885
  • 25-Oct-2020
  • 09-Sep-2021

Environment

IDM 4.7.x upgraded to IDM 4.8

Situation

Using the do-send-email token from policy builder fails to send HTML messages after upgrading from IDM 4.7 to IDM 4.8 with an error like :-

DirXML Log Event -------------------
     Driver:   \IDMPROD\admin\idm\Driver Set\CSP2EIV
     Channel:  Publisher
     Object:   null(\IDMPROD\External Businesses\Direct\3272561974\Users\qfp258)
     Status:   Error
     Message:  Code(-9195) Error in vnd.nds.stream://IDMPROD/admin/idm/Driver+Set/CSP2EIV/Publisher/Modify+App+Access#XmlData:901 : Couldn't send email: com.novell.nds.dirxml.util.mail.HandlerException: Error constructing html message document:
'': (3): element after document element


This same configuration works in IDM 4.7
Do-send-email-from-template works.
If the message type is changed from "HTML" to "text", the email is sent successfully (but not in HTML format).
The IDM 4.8.0.1 hot fix is applied.

Resolution

Added beginning and ending html tags.

<html>
      <header>
          <title> Sample HTML </title>
      </header>
      <body>
            Hello World
       </body>
</html>

The message then sent successfully in HTML format.

Cause

The message was missing begin and end HTML tags.
This message worked in 4.7 but did not work in 4.8

<header>
    <title> Sample HTML </title>
</header>
<body>
    Hello World
</body>


It seems that IDM 4.8 is more particular about correctly formatted HTML.