Binary Data when sending mail with attachment with connector

When sending a mail with an attachment I receive a binary data (e.g. java.io.ByteArrayInputStream@27d0b2ce) instead of the main file. However when I use the input parameter “fileNames” with the type list and define a value I receive an error. The file im trying to send is uploaded in a previous task. What am I doing wrong? Thank you in advance!

3

Hi @Haminou_M,

I assume that you have a variable of type ‘file’ and want to send this file as an attachment of the mail, right?

This is currently not possible: https://github.com/camunda/camunda-bpm-mail/issues/6

Feel free to work on a pull request to add this feature.

Best regards,
Philipp

1 Like