<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">MiSo,<br>
<br>
no, it's currently not possible. It would require thinking a bit
about that, because the notifications are (or should be)
transport-independent. E.g. they can be delivered via mail, SMS,
instant messaging, etc. So the Message class (in
com.evolveum.midpoint.notifications.api.transports) contains only
features that are approximately common to all these transports
(to, subject, body including content-type). There's no problem in
enhancing it with something like "cc" and "bcc"; it requires
thinking how the other transports would deal with it. And also how
to configure these fields (probably something like
ccRecipientExpression/bccRecipientExpression?).<br>
<br>
As a workaround, there are two possibilities:<br>
1) you could include more recipients as a result of
recipientExpression - they would get used as multiple "To:"
recipients<br>
2) if you can hack a bit into the source, you could implement
(around lines 158-160 in MailTransport class) a hack that would
recognize recipients starting with e.g. "#cc:" string and place
them into mimeMessage as "Cc" recipients<br>
<br>
Anyway, you're free to create a JIRA issue suggesting this change
and we can look at possibilities of its implementation.<br>
<br>
Hope this helps,<br>
Pavol<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</div>
<blockquote cite="mid:1432542854.2664.5.camel@steky" type="cite">
<pre wrap="">Hi,
if I set recipientExpression then sent mail to user (to). Can I sent
copy of notification to another user (cc)?
Thanks,
MiSo
_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body>
</html>