| Author |
Treat in memory string as file
|
Aryan Khan
Ranch Hand
Joined: Sep 12, 2004
Posts: 289
|
|
Hi, I am using java mail api for sending emails with attachments. Java mail api supports attachments via FileDataSource and URLDataSource from JAF. Is there any way I can attach some in memory string as attachement rather than writing it to a file and attaching? Thanks
|
OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
|
 |
Aryan Khan
Ranch Hand
Joined: Sep 12, 2004
Posts: 289
|
|
Here is the solution.
|
 |
 |
|
|
subject: Treat in memory string as file
|
|
|