[
https://jira.jboss.org/jira/browse/JBPM-850?page=com.atlassian.jira.plugi...
]
Ronald van Kuijk commented on JBPM-850:
---------------------------------------
ok, made a test for this. Really simple, but the bcc test fails... I think this might be
because the SimpleSMTPServer does not support bcc or maybe it does, but the server only
receives one message.
I added a test with two recipients and also one message is 'received' then by the
server, since only one message is sent to it. That you cannot see the bcc is *good*
:-).... So the testframework is insufficient I think. Any comments before I commit my
code?
Tasks with mail notification (notify="yes") fail if the
assigned actor has no e-mail address.
---------------------------------------------------------------------------------------------
Key: JBPM-850
URL:
https://jira.jboss.org/jira/browse/JBPM-850
Project: JBoss jBPM
Issue Type: Patch
Components: Core Engine
Affects Versions: jBPM 3.2.0
Reporter: Bruno Dumon
Assignee: Tom Baeyens
Fix For: jBPM 3.3.0 GA
Attachments: noaddress_mail_patch.txt
In our system, it can occur users have not configured an email address, in which case
they should not (and cannot) receive email notifications. So our AddressResolver
implementation returns a null email address in that case.
Currently this will make jBPM try to send a mail with no recipients, causing JavaMail to
raise an exception.
The attached patch (against current CVS) changes things such that a mail is not send when
there are no recipients.
--
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