Posted By:
allen_petersen
Posted On:
Tuesday, December 11, 2001 05:17 PM
You can't. At least, with the Sun POP3 provider, you can't.
In JavaMail 1.2, the Sun POP3 provider only uses the TOP command to get the headers of the Message. Any content that is also returned with that usage of the command is ignored. So there's no really good way for an application using JavaMail to get the beginning of a message from TOP.
As always with POP3 questions, it is possible that another, third-party POP3 provider might have that functionality.