• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use InputStream to contruct an attachment for Java Mail

 
Smitha Cha
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Kindly share the code if you have any regd - how we could use an InputStream object to construct an attachment and add it to a message so that an attachment could be send as an email.

I have read and stored the file content in the Input Stream.

Any help would be greatly appreciated.

Thanks.

[ January 22, 2007: Message edited by: Smitha Cha ]
[ January 22, 2007: Message edited by: Smitha Cha ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!