I am working on BPEL in OpenESB to send emails with attachment files.
I installed the email binding component and I followed the steps in the manual, so now my BPEL can send an email with the attachment file.
I added the SMTPAttachemnt parameter to the binding, as you can see in the image:

But I have a problem, because bpel receives a base64 encoded file, so when I check my mailbox, the attached file remains encoded :(
So, I think that if I want to get the file decoded in my email inbox, I will need to decode the attachFile element before sending the email. My question is: what's the best way to decode a base encoding file in OpenESB?
Thanks in advance!
I look forward to your decisions, Girish
source
share