carlos mauricio jaramillo henao 
[http://community.jboss.org/people/cmjhingeniero] created the discussion

"Error sending email in jbpm-4.2"

To view the discussion, visit: http://community.jboss.org/message/544967#544967

--------------------------------------------------------------
Hi

Currently I have a  problem, what happens is that I want to notify a user by 
e-mail that  has a task. I searched lot on the web but I can not  find the 
problem. I'm using jbpm-4.2 with  apache-tomcat-6.0

Example process

  <start g="13,13,48,48" name="inicio">
        <transition to="enviar"/>
   </start>

  <mail g="274,755,86,40" name="enviar">
        <to addresses=" mailto:carl...@audifarma.com.co 
carl...@audifarma.com.co"/>
        <cc addresses=" mailto:cmjhingeni...@yahoo.es cmjhingeni...@yahoo.es"/>
        <subject>Prueba</subject>
        <text>Prueba</text>
        <transition to="despacho caf"/>
   </mail>
   
   <task candidate-groups="caf" form="com/procesos/interfaces/nCaf.jsp" 
g="352,695,92,52" name="despacho caf">
        <notification>
            <to addresses=" mailto:carl...@audifarma.com.co 
carl...@audifarma.com.co"/>
            <cc addresses=" mailto:cmjhingeni...@yahoo.es 
cmjhingeni...@yahoo.es"/>
            <subject>Prueba 2</subject>
            <text>Prueba 2</text>
        </notification>
        <transition to="fin"/>
   </task>

<end g="1082,228,48,48" name="fin"/>

Archive jbpm.cfg.xml

<jbpm-configuration>
  <import resource="jbpm.default.cfg.xml" />
  <import resource="jbpm.businesscalendar.cfg.xml" />
  <import resource="jbpm.tx.hibernate.cfg.xml" />
  <import resource="jbpm.jpdl.cfg.xml" />
  <import resource="jbpm.identity.cfg.xml" />
  <import resource="jbpm.jobexecutor.cfg.xml" />
  <import resource="jbpm.mail.templates.examples.xml" />
  <string name='resource.mail.properties' value='jbpm.mail.properties' />
</jbpm-configuration>

Archive jbpm.mail.properties

mail.smtp.host 10.1.1.20
mail.smtp.port 25
mail.from  mailto:carl...@audifarma.com.co carl...@audifarma.com.co

Help me  not to review. Annex the error in the tomcat log

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/544967#544967]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to