[jboss-user] [jBPM] - Unable to set the mail configuration properties in JBPM 4.3

Alejandro Guizar do-not-reply at jboss.com
Fri Jun 18 18:13:08 EDT 2010


Alejandro Guizar [http://community.jboss.org/people/alex.guizar%40jboss.com] replied to the discussion

"Unable to set the mail configuration properties in JBPM 4.3"

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

--------------------------------------------------------------
> I think while sending mails jbpm is not reading user name and password from my jbpm.mail.properties file.I saw the debug log it reads all other things from file.
> So can you tell me wher i have to provide user name and password so that jbpm can read it.
> mail.user=virendag
> mail.password=viren123
> These two properties.
jBPM does not read the mail.properties file directly, it is passed verbatim to the javax.mail.Session.getInstance(Properties) method. The  http://java.sun.com/products/javamail/javadocs/index.html JavaMail API documentation does not document a mail.password property. I believe this explains why the password is being ignored.

The mail session binding provides the means  to create a javax.mail.Authenticator from a wire description, although this is undocumented and untested. Would you please create a  https://jira.jboss.org/browse/JBPM JIRA issue for this?

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

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

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/20100618/dd01012f/attachment.html 


More information about the jboss-user mailing list