dcsimg

When reading mail, how do I get just the message content without the headers?

John Zukowski

Use the getContent() method of the MimeMessage class to get the content, excluding headers.