Email BC - attach a base64 encode file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Email BC - attach a base64 encode file

This post has NOT been accepted by the mailing list yet.
I'm working on a bpel for sending emails with attachment files.

I have installed the email binding component and I followed the steps described in the manual, so now my bpel is able to send an email with an attachment file.

I have added the option SMTPAttachemnt in the binding as you can see in the image :

But I have a problem because the bpel receives a base64 encode file, so when I check my email inbox the file attached remains encode :(

So I think if I want to receive the file decoded in my email inbox,  I would have to decode the "attachedFile" element before sending the email. My question is: what's the best way to decode the a base64 encode file element in OpenESB ?

Thanks in advance!!

I will look forward to hearing your solutions,