How to enable attachment using Apache File upload
Posted
by Stardust
on Stack Overflow
See other posts from Stack Overflow
or by Stardust
Published on 2010-04-24T10:29:49Z
Indexed on
2010/04/24
10:33 UTC
Read the original article
Hit count: 383
I am using Apache commons File upload API to Store the file from JSP to servlets in temp directory, but I don't know what should I do next to send the email as an attachment using javamail API.
How can I retrieve those files which is written in temp directory using Apache Fileupload API to send them as attachment to mail Server. How will writing those files either to memory or disk will help me?
© Stack Overflow or respective owner