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
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 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.
It works now. To summarize for those who may need it :
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' firstname.lastname@example.org' />
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="email@example.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 .
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
Can anybody tell me how to send mail using authentication user mail id & password??