|
|
| Hello. Question related to Commons Email. I need to attach file to my email. I have Struts FormFile class, represennting file came from html form (i can get byte array of it) - but EmailAttachment class receives only local path or URL to get file for attachment. I don't want to temporarily save it on disk, does anybody know how can i avvoid it and directly assign it to my EmailAttachment class? |