[EMAIL PROTECTED] wrote:
Hello,
Is it fixed?. In which version of James?.. Have you done a new released
candidate?
Actually, Stefano Bagnara (James programmer) asked me to try this code:
----
/**
* @see javax.mail.internet.MimeMessage#getRawInputStream()
*/
public InputStream getRawInputStream() throws MessagingException {
if (!messageParsed && !isModified() && source != null) {
InputStream is;
try {
is = source.getInputStream();
// skip the headers.
new MailHeaders(is);
return is;
} catch (IOException e) {
throw new MessagingException("Unable to read the stream: " +
e.getMessage(), e);
}
} else return super.getRawInputStream();
}
------
In fact, it works to do a POP TOP with this code but I noticed a bad collateral effect.
Actually, when I launched now 10 000 messages (10 Kos) with NO DELAY between 2 messages,
I've got an error "not possible to listen on port 25" on my program for few of
them.
Thank you!
I already asked you why do you think this port 25 error is related with
the previous issue.
Wasn't the previous issue related to POP3 ? Who is sending this "not
possible to listen on port 25" ??
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]