-
1. Re: sending emil in using JBPM
kukeltje Nov 24, 2008 4:17 PM (in response to shantanu.u)1: post with the use of code tags (see preview)
2: userid/password is npt supported afaik when sending mail. No mail service is needed not supported (yet)
3: (docs) Not sure if I agree. Never heard anyone having a problem with this -
2. Re: sending emil in using JBPM
shantanu.u Nov 24, 2008 4:56 PM (in response to shantanu.u)My question is - how do I configure the mail server when using JBPM. I've done this using mail-service.xml for JBossAS. That takes the user id and password. Will JBPM use that configured java:/Mail jndi ?
-
3. Re: sending emil in using JBPM
kukeltje Nov 24, 2008 5:03 PM (in response to shantanu.u)http://www.google.nl/search?q=smtp+server+jbpm+configure&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:nl:official&client=firefox-a
3 of the first 5 links lead you to an answer.
Regarding the last question: I think that was already answered in my previous post but I'll repeat myself: No. -
4. Re: sending emil in using JBPM
shantanu.u Dec 8, 2008 4:20 PM (in response to shantanu.u)It works now. To summarize for those who may need it :
1.
Make the following additions in the jbpm.cfg.xml<string name="jbpm.mail.smtp.host" value="<your smtp server>" /> <string name="jbpm.mail.smtp.port" value="25" /> <string name='jbpm.mail.from.address' value='no-reply@company.com' />
Last two entries are optional.
2. In my task node, I do this :<task-node name="SomeTask" end-tasks="true"> <event type="node-enter"> <mail name="mailTo" to="blah@blah.com"> <subject>...</subject> <text>..</text> </mail> </event> </task-node>
I would have liked to authenticate with the mail server using but there's no indication in the JBPM docs that it accepts user id and password. Some links seem to show that there is a userid and password variable . -
5. Re: sending emil in using JBPM
kukeltje Dec 8, 2008 5:36 PM (in response to shantanu.u)Some links seem to show that there is a userid and password variable
Could be from someone that made his own mailservice.... you could do that as well. Look at the source of jbpm and it is not that difficult -
6. Re: sending emil in using JBPM
rohya Feb 23, 2011 7:38 AM (in response to shantanu.u)hello everyone,
Can anybody tell me how to send mail using authentication user mail id & password??