Email Attachment
Hi All
I am creating a text file and sending it as an attachment. The text file I am creating is just for the purpose of creating attachment and I have no use after that.
Questions:
Is there a way to send email attachment without creating a physical file.
My scenario is: I have some 10 lines of text dynamically, I have to send that 10 lines of text as an email attachemnt.
Currently I have a temporary directory in which I create this file, attach this file using Java mail and send it.
I want to avoid creating the file on disk
Please let me know.
bib

