I'm adding support for attachments to seam mail, and would like to get some feedback
on ways to specify the file to attach. So far I've got the ability to do:
<m:attachment value="/path/to/foo.bar" /> where the foo.bar is accessible
by the classloader for your app.
<m:attachment value="#{foo.bar}" /> where the object referenced by
#{foo.bar} could be a java.io.File or java.net.URL
<m:attachment value="#{foo.bar}" contentType="application/pdf"
/> where the object referenced by #{foo.bar} could be a byte[] or a InputStream
Anything else that should be supported?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010263#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...