How to attach file stream as email attachment using Groovy ?

Am using Bonita 6.5 Subscription, I want to attach file stream as email attachment in Email connector ?

See these posts here:

http://stackoverflow.com/questions/15709823/how-to-add-attachments-to-email-in-java-using-outputstream
http://stackoverflow.com/questions/4817083/send-e-mail-in-pdf-attachment-as-stream
http://stackoverflow.com/questions/6806407/add-attachment-as-stream-in-commons-email
https://vangjee.wordpress.com/2010/11/02/how-to-create-an-in-memory-pdf-report-and-send-as-an-email-attachment-using-itext-and-java/
http://www.coderanch.com/t/272912/java/java/Send-PDF-JavaMail

regards
Seán

PS: If this reply answers your question, please mark a resolved

Can you please provide me answer for Bonita Email connector using Groovy Script

What have you done so far?

Note that Java and groovy are the same (in Bonitasoft) so it doesn’t have to be Groovy, it can be Java.

I’m happy to help you with any script you’ve written, but not write one for you (well not for free any way).

Community is about showing us what you’ve done (where possible) and then we can help. Our time is precious as well and we can’t give it away…

regards
Seán