I'm trying to store the attachment content of an email polled in a database.
I tried putting it in a BLOB datatype but when I get it from there and use it in a notification task, it gets corrupted.
xsd looks like this
<xs:element name="attach_content" type="xs:base64Binary" nillable="true"/>
Base64Binary is actually a string of ascii code. It's a way of coding binaries into only ascii character set. So a CLOB should do.