Hi, I know this topic has been sent before, but I have tried everything and it does not work, I saw all the forum tried all solutions but still doesnt work. Im working with openkm 5.0 and jBPM 3.3.1. I dont know if im missing some proppertie or adding wrong propperties. This is the content of my jbpm.cfg.xml:
Somebody please help me, am a little desperate.
Thanks.
Code: Select all
When I get to the mail action of the workflow I get the following exception:<jbpm-configuration>
<!--
The default configurations can be found in org/jbpm/default.jbpm.cfg.xml
Those configurations can be overwritten by putting this file called
jbpm.cfg.xml on the root of the classpath and put in the customized values.
-->
<!--
<jbpm-context>
<service name='persistence' factory='org.jbpm.persistence.db.DbPersistenceServiceFactory' />
</jbpm-context>
-->
<string name="jbpm.mail.smtp.host" value="smtp.gmail.com" />
<string name="jbpm.mail.from.address" value="mymail@gmail.com"/>
<string name="resource.mail.templates" value="jbpm.mail.templates.xml"/>
<bean name="jbpm.mail.address.resolver" class="org.jbpm.identity.mail.IdentityAddressResolver" singleton="true"/>
<string name="jbpm.mail.debug" value="true" />
<string name="jbpm.mail.smtp.port" value="465" />
<string name="jbpm.mail.smtp.starttls.enable" value="true" />
<string name="jbpm.mail.smtp.user" value="mymail0@gmail.com" />
<string name="jbpm.mail.smtp.password" value="mypassword" />
<string name="jbpm.mail.smtp.ssl" value="true" />
<string name="jbpm.mail.smtp.socketFactory.port" value="465" />
<string name="jbpm.mail.smtp.socketFactory.class" value="javax.net.ssl.SSLSocketFactory" />
<string name="jbpm.mail.smtp.auth" value="true" />
<!--
<string name="jbpm.mail.smtp.ssl" value="false" />
<string name="jbpm.mail.smtp.port" value="25" />
<string name="jbpm.mail.smtp.user" value="openkm@nosuchdomain.com" />
<string name="jbpm.mail.smtp.pwd" value="somepassword" />
<string name="jbpm.mail.smtp.pass" value="somepassword" />
<string name="jbpm.mail.smtp.password" value="somepassword" />
<string name="jbpm.mail.smtp.auth" value="true" />
<string name="jbpm.mail.smtp.starttls.enable" value="false" />
<string name="jbpm.mail.debug" value="true" />
-->
</jbpm-configuration>
Code: Select all
Im working with a gmail acount that works fine with notifications for actions in Openkm like upload a file. org.jbpm.JbpmException: couldn't send email
...
Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. z6sm14884071anf.22
Somebody please help me, am a little desperate.
Thanks.