Hy all,
i'm tryng to set up a simple workflow whose main goal is to checkin a document with categories and some other metadata.
At the end of the process the workflow should send an email to an user; at this step no matter the user is... the important thing is that the process will make sense.
after the task node in charge to checkin i created a node mail with the following code
where do i'm wrong ? do i miss something ?
i searched in the blog and in the web but i didn't find any help
Alessandro
i'm tryng to set up a simple workflow whose main goal is to checkin a document with categories and some other metadata.
At the end of the process the workflow should send an email to an user; at this step no matter the user is... the important thing is that the process will make sense.
after the task node in charge to checkin i created a node mail with the following code
Code: Select all
in the /opt/openblablabla/tomcat/conf/server.xml file i configured the following<mail-node name="mail-node1" to='user@gmail.com' subject='notifica da openkm' text='ho inserito un nuovo file'>
<transition to="end-state1" name="route 4"></transition>
</mail-node>
Code: Select all
but when i run the workflow i get the following error <Resource name="mail/OpenKM" auth="Container" type="javax.mail.Session"
mail.transport.protocol="smtp"
mail.smtp.auth="true"
mail.smtp.host="smtp.gmail.com"
mail.smtp.port="465"
mail.smtp.user="user@gmail.com"
password="secretword"
mail.smtp.from="user@gmail.com"
mail.smtp.quitwait="false"
mail.smtp.starttls.enable="true"
mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
mail.debug="true"
/>
Code: Select all
it seems that openkm doesn't load the current parameters stored in server.xml aboveERROR org.jbpm.mail.Mail - Cannot send mail, now retrying: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;where do i'm wrong ? do i miss something ?
i searched in the blog and in the web but i didn't find any help
Alessandro
