There is a bug with SEAM 2.1.1.GA which prevents to send mail with attachments when the body type of a message is set to plain
.
<m:attachment value="#{myAttachmentFile}"/> <m:body type="plain">...</m:body>
will not send the file myAttachmentFile.
The workaround is to set it to html.
<m:attachment value="#{myAttachmentFile}"/> <m:body type="html">...</m:body>
I've opened an issue in JIRA : JBSEAM-3970