[jboss-user] [jBPM] - Error sending email in jbpm-4.2

carlos mauricio jaramillo henao do-not-reply at jboss.com
Wed May 26 21:33:22 EDT 2010


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:carlosj at audifarma.com.co carlosj at audifarma.com.co"/>
        <cc addresses=" mailto:cmjhingeniero at yahoo.es cmjhingeniero at 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:carlosj at audifarma.com.co carlosj at audifarma.com.co"/>
            <cc addresses=" mailto:cmjhingeniero at yahoo.es cmjhingeniero at 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:carlosj at audifarma.com.co carlosj at 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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100526/7c9ead00/attachment.html 


More information about the jboss-user mailing list