How to specify CC and BCC email addresses to EmailInfo

When creating an email as described in the manual, I find only

EmailInfo.setAddresses()

with no obvious way to specify CC and BCC addresses. Is this possible with some special notation or is it not possible with the API?

Thanks!

Hi,

According to JavaDoc of EmailInfo class, addresses is a comma or semicolon separated list of addresses. If you specify the list of emails, for each address will be generated a separate email, so this is more like BCC.

Regards,
Gleb

Unfortunately Gleb’s answer does not help. I am aware the addresses can be a list, but I need to specifically set the CC and BCC addresses, not just the FROM and TO.

Unfortunatelly, there is no ability to specify CC and BCC email addresses to EmailInfo. We have created a YouTrack issue, see the link on the right.

Regards,
Gleb

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/PL-9320