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

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


IDM 4.7.x upgraded to IDM 4.8


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 : 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 hot fix is applied.


Added beginning and ending html tags.

          <title> Sample HTML </title>
            Hello World

The message then sent successfully in HTML format.


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

    <title> Sample HTML </title>
    Hello World

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