Problems using POP3 with Microsoft Exchange

  • Share
  • Share

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.

JAVA-Mail , ,

  1. admin
    March 20th, 2009 at 10:28 | #1

    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”.

  1. No trackbacks yet.