<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Problem in sending html content as part of email body.
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/s.azambasha">azam shaik</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/760906#760906">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><p>I am new to jbpm,</p><p><strong>My requirement is to send an email with html hiper link as part of the mail body.</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I was able to send mail with some text...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>When I try to write simple html content (<html><body><b>I am bold</b></body></html>) as part of the email body in Guvnor webdesigner, while saving the process, designer is throwing below error.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'html' not found. (inputStream://dummyUriWithValidSuffix.x</p><p>ml, 35, 93)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)</p><p>        at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494)</p><p>        at org.jbpm.designer.web.profile.impl.JbpmProfileImpl.getDefinitions(JbpmProfileImpl.java:273)</p><p>        at org.jbpm.designer.web.profile.impl.JbpmProfileImpl$2.parseModel(JbpmProfileImpl.java:252)</p><p>        at org.jbpm.designer.web.server.UUIDBasedRepositoryServlet.doPost(UUIDBasedRepositoryServlet.java:147)</p><p>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)</p><p>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</p><p>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)</p><p>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p><p>        at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)</p><p>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</p><p>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p><p>        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)</p><p>        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)</p><p>        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)</p><p>        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</p><p>        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</p><p>        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)</p><p>        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)</p><p>        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)</p><p>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)</p><p>        at java.lang.Thread.run(Thread.java:662)</p><p>Caused by: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'html' not found. (inputStream://dummyUriWithValidSuffi</p><p>x.xml, 35, 93)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLHandler.reportUnknownFeature(XMLHandler.java:1991)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleUnknownFeature(XMLHandler.java:1955)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1899)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1023)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1001)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712)</p><p>        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)</p><p>        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)</p><p>        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)</p><p>        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)</p><p>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)</p><p>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)</p><p>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)</p><p>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)</p><p>        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)</p><p>        at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)</p><p>        at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)</p><p>        ... 22 more</p><p>22 Sep, 2012 1:11:30 AM org.jbpm.designer.web.profile.impl.JbpmProfileImpl$2 parseModel</p><p>SEVERE: null</p><p>java.lang.NullPointerException</p><p>        at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallDefinitions(Bpmn2JsonMarshaller.java:204)</p><p>        at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshall(Bpmn2JsonMarshaller.java:160)</p><p>        at org.jbpm.designer.web.profile.impl.JbpmProfileImpl$2.parseModel(JbpmProfileImpl.java:252)</p><p>        at org.jbpm.designer.web.server.UUIDBasedRepositoryServlet.doPost(UUIDBasedRepositoryServlet.java:147)</p><p>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)</p><p>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</p><p>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)</p><p>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p><p>        at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)</p><p>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</p><p>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p><p>        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)</p><p>        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)</p><p>        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)</p><p>        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</p><p>        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</p><p>        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)</p><p>        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)</p><p>        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)</p><p>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)</p><p>        at java.lang.Thread.run(Thread.java:662)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong>Is there any other way to send html content as part of the mail body?</strong></p><p><strong><br/></strong></p><p>Can anyone suggent me...Thanks in advance.</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/760906#760906">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>