• Post Reply Bookmark Topic Watch Topic
  • New Topic

Forcing MimeMessage to fetch all content

 
Ethan Gur
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I would like to work with a MimeMessage in an offline manner. I read in the JAVAMail FAQ that I can use the writeTo() method to write all content and headers to an OutputStream. I understand that this method forces all the content to be fetched from the mail server.
I want to force this fetch without using the writeTo() method. Can I do that?

I have a workaround for that puorpose:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!