Problems using POP3 with Microsoft Exchange
March 20th, 2009
Applies to:
NA
Description:
Occurs while using POP3 protocol with Microsoft Exchange
Cause:
Some versions of Microsoft Exchange do not implement the POP3 protocol properly. They return different headers from the TOP command than they do from the RETR command. This can cause all sorts of strange failures in JavaMail.
One solution is to disable use of the TOP command, as described above. Another approach that works in some cases os to tell JavaMail to forget about the headers it retrieved using the TOP command after retrieving the entire message using the RETR command. To do this, set the property “mail.pop3.forgettopheaders” to “true”.