- Posted by: Allan Wan
- Posted on: July 11 2005 11:06 EDT
I want to send a mail with attachment which is generated during runtime. Right now I am using the normal way to create a file in the directory , then attached it. It works fine but how can I send an attachment without creating a file in the back end? Can anyone help me or
show me the example in java?
You can try to use java.io.PipedOutputStream and PipedInputStream.
Have a nice day