[
https://jira.jboss.org/jira/browse/JBPM-2058?page=com.atlassian.jira.plug...
]
Alejandro Guizar resolved JBPM-2058.
------------------------------------
Resolution: Done
Mail templates are implemented, bound to XML, made aware of script languages and
documented.
A default mail producer was created with the option to specify an inline template, or
reference one from the configuration file.
Plain JavaMail was used to create and fill email messages. No further dependency on
commons-email.
Wiser was chosen over Dumpster as the latter is no longer actively maintaned. Plus
Dumpster is broken on Linux/MacOS X and generally any hardware/OS combo that returns fast
from ServerSocket.bind().
email templates
---------------
Key: JBPM-2058
URL:
https://jira.jboss.org/jira/browse/JBPM-2058
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Tom Baeyens
Assignee: Alejandro Guizar
Fix For: jBPM 4.0.0.Beta2
Use the jBPM 3 Mail class as a basis. Port that to jBPM 4 and change the template
resolving with the ScriptManager.
Start with JUEL as the base language for the templates.
Add the method in EmailAddressResolver as a part of the IdentitySession interface.
First goal is to produce a test case in the jPDL implementation test suite that shows
sending of an email programmatically based on a template. Use dumpster as the in-test
mail server. Make sure to set the port to something high like e.g. 26354 just like in
jBPM 3 email tests.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira