at it in more detail: <con:attachment xmlns:con=”http://www.bea.com/wli/sb/context”>….</con:attachment> This is the wrapper element required for any attachment. <con:Content-Type>text/plain</con:Content-Type> This element defines the Internet media type (aka  MIME type ) of the attachment – in this case a simple text file attachment. <con:Content-Disposition>attachment; filename=” Simple.txt ”</con:Content-Disposition> This element specifies how the attachment should be