Skip to Content
Former Member
Feb 11, 2010 at 11:54 AM

How to access Mail-Attachments in XI 3.0?


Hello everyone,

We have a scenario, where a Mail with attached Files (text, pdf) is sent to the XI. I would like to write a module which accesses the Mail-Attachments, retrieves their content and appends the Base64-encoded content to the payload. I've tried several things, took inspiration from existing Module-Beans, but i never really came to the point that i have the attachment-name and content to do the Encoding.

Could anyone give me a hint what is a proper way to achieve this?

Or is there probably a more elegant method to access Mail attachments within XI (3.0)?

Thank you,