I'm using simplejavamail
to send emails with attachments.
As an enhancement, I would like to load the file from the file path in a streaming fashion and add it as an attachment (just the stream). This way, I want to avoid loading entire file in memory.
Is there an API that does this already?