<!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="http://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;">
530 5.7.1 Client was not authenticated
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/rajan01">Rajan Bansal</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/603127#603127">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I am calling the jBPM process, in which it sends the mail, And I configure tha mail jbpm mail host in the <strong>jbpm.cfg.xml</strong> as under:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><?xml version="1.0" encoding="UTF-8"?></p><p><jbpm-configuration></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <string name="jbpm.mail.smtp.host" value="172.25.15.4" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p></jbpm-configuration></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>and my <span style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;">SMTP server Ip is 172.25.15.4 <br/></span></p><p><span style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"><br/></span>and i got the following error:</p><p>Inside the Node Handler execute method....// It calls the handlers execute method</p><p>Exception in thread "main" org.jbpm.JbpmException: couldn't send email</p><p>    at org.jbpm.mail.Mail.send(Mail.java:149)</p><p>    at org.jbpm.mail.Mail.send(Mail.java:113)</p><p>    at org.jbpm.mail.Mail.execute(Mail.java:63)</p><p>    at org.jbpm.graph.def.Action.execute(Action.java:122)</p><p>    at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:255)</p><p>    at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220)</p><p>    at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190)</p><p>    at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174)</p><p>    at org.jbpm.graph.def.Node.leave(Node.java:381)</p><p>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</p><p>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</p><p>    at java.lang.reflect.Method.invoke(Unknown Source)</p><p>    at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)</p><p>    at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$d02de78a.leave(<generated>)</p><p>    at org.jbpm.graph.exe.Token.signal(Token.java:194)</p><p>    at org.jbpm.graph.exe.Token.signal(Token.java:139)</p><p>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</p><p>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</p><p>    at java.lang.reflect.Method.invoke(Unknown Source)</p><p>    at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)</p><p>    at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$7cbc8e1e.signal(<generated>)</p><p>    at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:270)</p><p>    at com.sample.initiator.ProcessInitiator.signalProcessInstance(ProcessInitiator.java:126)</p><p>    at com.sample.initiator.StartProcessOne.main(StartProcessOne.java:11)</p><p>Caused by: javax.mail.SendFailedException: Sending failed;</p><p>  nested exception is:</p><p>    class javax.mail.MessagingException: 530 5.7.1 Client was not authenticated</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    at javax.mail.Transport.send0(Transport.java:218)</p><p>    at javax.mail.Transport.send(Transport.java:80)</p><p>    at org.jbpm.mail.Mail.send(Mail.java:147)</p><p>    ... 25 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 14pt; text-decoration: underline;">And plz tell me how do i check the SMTP server ip given to me is correct or not..</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 10pt;">Thanks</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 10pt;">Rajan<br/></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 14pt; text-decoration: underline;"><br/></span></p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/603127#603127">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://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>