I saved in the same file (in append) several MimeMessage, with the method writeTo( ), but now I can read (using the constructor that uses an inputstream) only the first MimeMessage!!!

In the API Docs it says : "The InputStream will be left positioned at the end of the data for the message"
If I use the constructor several times, for example in a for cicle, to read a certain number of Messages saved in the file, without closing the inputstream, it reads only the first!!!