<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:inherit;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1445271501;
        mso-list-template-ids:-2035154404;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal">I am trying to configure email from JBPM6 and I have updated my standalone full.xml as follows,<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&lt;subsystem xmlns=&quot;urn:jboss:domain:mail:1.0&quot;&gt;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mail-session jndi-name=&quot;java:jboss/mail/Default&quot;&gt;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;smtp-server ssl=&quot;true&quot; outbound-socket-binding-ref=&quot;mail-smtp&quot;&gt;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;login name=&quot;@gmail.com&quot; password=&quot;*****f&quot;/&gt;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/smtp-server&gt;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/mail-session&gt;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;min-height: 8pt">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&lt;outbound-socket-binding name=&quot;mail-smtp&quot;&gt;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;remote-destination host=&quot;smtp.gmail.com&quot; port=&quot;587&quot;/&gt;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/outbound-socket-binding&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">But I get the following error.&nbsp; Please assist me. Even I set TLS=&#8221;true&#8221; it is not working<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">Caused by: org.jbpm.bpmn2.handler.WorkItemHandlerRuntimeException: java.lang.RuntimeException: Unable to send email<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.jbpm.process.workitem.AbstractLogOrThrowWorkItemHandler.handleException(AbstractLogOrThrowWorkItemHandler.java:40) [jbpm-workitems-6.0.0.Final.jar:6.0.1.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.jbpm.process.workitem.AbstractLogOrThrowWorkItemHandler.handleException(AbstractLogOrThrowWorkItemHandler.java:23) [jbpm-workitems-6.0.0.Final.jar:6.0.1.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.jbpm.process.workitem.email.EmailWorkItemHandler.executeWorkItem(EmailWorkItemHandler.java:75) [jbpm-workitems-6.0.0.Final.jar:6.0.0.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:56) [drools-persistence-jpa-6.0.1.Final.jar:6.0.1.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:124) [jbpm-flow-6.0.1.Final.jar:6.0.1.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; ... 71 more<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">Caused by: java.lang.RuntimeException: Unable to send email<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.jbpm.process.workitem.email.SendHtml.sendHtml(SendHtml.java:73) [jbpm-workitems-6.0.0.Final.jar:6.0.0.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.jbpm.process.workitem.email.SendHtml.sendHtml(SendHtml.java:45) [jbpm-workitems-6.0.0.Final.jar:6.0.0.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.jbpm.process.workitem.email.EmailWorkItemHandler.executeWorkItem(EmailWorkItemHandler.java:69) [jbpm-workitems-6.0.0.Final.jar:6.0.0.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; ... 73 more<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">Caused by: java.lang.RuntimeException: Connection failure<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.jbpm.process.workitem.email.SendHtml.sendHtml(SendHtml.java:67) [jbpm-workitems-6.0.0.Final.jar:6.0.0.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; ... 75 more<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. vu3sm6577316igc.6 - gsmtp<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;min-height: 8pt">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit;min-height: 8pt">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp;<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057) [mail-1.4.4.jar:1.4.4]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1580) [mail-1.4.4.jar:1.4.4]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1097) [mail-1.4.4.jar:1.4.4]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; at org.jbpm.process.workitem.email.SendHtml.sendHtml(SendHtml.java:65) [jbpm-workitems-6.0.0.Final.jar:6.0.0.Final]<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D">&nbsp; ... 75 more<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;line-height:14.25pt;vertical-align:baseline;border-style:initial;border-color:initial;font-weight:inherit;font-style:inherit">
<span style="font-size:10.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" align="right" style="margin-left:15.0pt;text-align:right;text-indent:-.25in;line-height:14.25pt;mso-list:l0 level1 lfo2;vertical-align:bottom">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Symbol;color:#3D3D3D"><span style="mso-list:Ignore">&middot;<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style="font-size:9.0pt;font-family:&quot;inherit&quot;,&quot;serif&quot;;color:#3D3D3D"><a href="https://community.jboss.org/update-advanced-comment.jspa?id=871445"><span style="color:#355491;border:none windowtext 1.0pt;padding:0in">Edit</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p>This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.

Thank you.</p>
</body>
</html>