• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding bytearrayoutputstream  RSS feed

 
upanshu vaid
Ranch Hand
Posts: 83
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,the issue is that there is byte array output stream object which contains the content of email body ,email
Body can have any type of content like text, html, url link, image etc . When I am writing this content in word document using output stream object
The content is not there and getting the message can't open the file because of bad content.

1)how to write the content of byte array output stream object so that the content is there in file .

Thanks
 
K. Tsang
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you flush the content or simply write to some file?
 
upanshu vaid
Ranch Hand
Posts: 83
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply ,
I have simply written to a file.
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!