Community

Unable to set the mail configuration properties in JBPM 4.3

reply from Alejandro Guizar in jBPM - View the full discussion
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 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 JIRA issue for this?

Reply to this message by going to Community

Start a new discussion in jBPM at Community