Issue in sending the html email after upgrade to 4.8

The below  html is used to send email. It was working in 46 environment. but after upgrade its not working.

 

<html>
<body>
<font size=10 face="Arial">
<table width='100%' height='100%'>
<tr>
<td>Please review the list of users.</td>
</tr><tr>
<td>
<table width='25%'>
<tr>
<td bgcolor='black'>
<table width=100% height=100% cellspacing=1 cellpadding=1 bgcolor=white><tr bgcolor=gray><td nowrap> Sl.No </td><td nowrap> Process Date </td><td nowrap> User Name </td><td nowrap> Display Name </td><td nowrap> Employee # </td></tr><tr bgcolor=white><td>1</td><td nowrap>09/02/20</td><td nowrap></td><td>&amp;nbsp;</td><td>101875</td></tr></table>
</td>
</tr>
</table>
</td>
</tr><tr height='.1px'>
<td><hr/></td>
</tr><tr>
<td>
If you do not wish to receive this notification, please reply to this email and indicate the notification was generated from Identity Management: PeopleSoft HR.Daily Terminated Job
</td>
</tr>
</table>
</font>
</body>
</html>

 

After upgrade - its not working throwing the below error..

 

Status: Error
Message: Code(-9195) Error in vnd.nds.stream://IDV-DEV1/system/IDM-DriverSet/PeopleSoft HR-CSV/Subscriber/Jobs-TerminateUser#XmlData:974 : Couldn't send email: com.novell.nds.dirxml.util.mail.HandlerException: Error constructing html message document:
'': (3): character not allowed

 

when I copy this code and save it as .html file, it s working as expected. I dont find any special characters. I have removed and tested few.. But still its not working..

 

Kindly anyone shed some light on this..

  • Apply sp1.
    This was an early problem in 4.8.
    Just apply the patches and it will be fine.
  • Actually I ran into this and did not solve it, we just switchd to the other token...

    The problem Joakim is talking about is two fold, they added a new attr on the Default Config node (notfSMTPTimeout) and it was not populated throwing an NPE.  And then there was another fix. So worth trying but I suspect this is a different issue.  Do let us know if the 4.8.1 patch helps.

     

  • Already am in 4.8.1

     

    Any othr suggestions ?

  • Ok,

     

    That was another issue.

    Try to change the send email to send email from template. I think that was Geoffs suggestion.

  • We use Send Email using template but <use-html> tag.

    We are getting Null Pointer error

    [09/08/20 22:40:48.793]:PHR-CSV ST: Action: do-send-email-from-template(notification-dn="security\Default Notification Collection",template-dn="security\Default Notification Collection\Custom-SendEmail_HTML","**PERSONAL INFORMATION REMOVED**","Template - IDAM Removals","<use-html>" "<table width='100%' height='100%' cellspacing='1' cellpadding='1' bgcolor='white'><tr bgcolor='gray'><td> Sl.No </td><td> Process Date </td><td >User Name </td><td >Display Name </td><td >Employee </td></tr><tr bgcolor='white'><td>1</td><td nowrap>09/08/20</td><td nowrap></td><td>&nbsp;</td><td>615800</td></tr></table>" "</use-html>").
    [09/08/20 22:40:48.806]:PHR-CSV ST: to("**PERSONAL INFORMATION REMOVED**")
    [09/08/20 22:40:48.807]:PHR-CSV ST: token-text("**PERSONAL INFORMATION REMOVED**")
    [09/08/20 22:40:48.809]:PHR-CSV ST: Arg Value: "**PERSONAL INFORMATION REMOVED**".
    [09/08/20 22:40:48.811]:PHR-CSV ST: eSubject("Template - IDAM Removals")
    [09/08/20 22:40:48.812]:PHR-CSV ST: token-text("Template - IDAM Removals")
    [09/08/20 22:40:48.814]:PHR-CSV ST: Arg Value: "Template - IDAM Removals".
    [09/08/20 22:40:48.816]:PHR-CSV ST: eBody("<use-html>" "<table width='100%' height='100%' cellspacing='1' cellpadding='1' bgcolor='white'><tr bgcolor='gray'><td> Sl.No </td><td> Process Date </td><td >User Name </td><td >Display Name </td><td >Employee </td></tr><tr bgcolor='white'><td>1</td><td nowrap>09/08/20</td><td nowrap></td><td>&nbsp;</td><td>615800</td></tr></table>" "</use-html>")
    [09/08/20 22:40:48.824]:PHR-CSV ST: token-text("<use-html>")
    [09/08/20 22:40:48.826]:PHR-CSV ST: token-text("<table width='100%' height='100%' cellspacing='1' cellpadding='1' bgcolor='white'><tr bgcolor='gray'><td> Sl.No </td><td> Process Date </td><td >User Name </td><td >Display Name </td><td >Employee </td></tr><tr bgcolor='white'><td>1</td><td nowrap>09/08/20</td><td nowrap></td><td>&nbsp;</td><td>615800</td></tr></table>")
    [09/08/20 22:40:48.835]:PHR-CSV ST: token-text("</use-html>")
    [09/08/20 22:40:48.837]:PHR-CSV ST: Arg Value: "<use-html><table width='100%' height='100%' cellspacing='1' cellpadding='1' bgcolor='white'><tr bgcolor='gray'><td> Sl.No </td><td> Process Date </td><td >User Name </td><td >Display Name </td><td >Employee </td></tr><tr bgcolor='white'><td>1</td><td nowrap>09/08/20</td><td nowrap></td><td>&nbsp;</td><td>615800</td></tr></table></use-html>".
    [09/08/20 22:40:48.845]:PHR-CSV ST:
    DirXML Log Event -------------------
    Driver: \CORNING-IDV-DEV1\system\IDM-DriverSet\PeopleSoft HR-CSV
    Channel: Subscriber
    Status: Error
    Message: Code(-9195) Error in vnd.nds.stream://CORNING-IDV-DEV1/system/IDM-DriverSet/PeopleSoft HR-CSV/Subscriber/COR-Jobs-TerminateUser#XmlData:976 : Couldn't send email: java.lang.NullPointerException

  • As per our analysis, there are few issues in generating HTML

    1) HTML attributes need to be in single quotes

    2) TD tag is having nowrap attribute. This is value attribute, but not accepted in policy

    3) &nbsp; white-space attribute is also not accepted in policy.

     

    Can somebody provide alternate for nowrap and &nbsp; ?