dcsimg

When using JavaMail I get an NoSuchField exception on the getContentStream() method / contentStream field of MimeMessage. What's wrong?

John Zukowski

The contentStream field was added to JavaMail 1.2. Apparently, you are trying to run a 1.2 program with the 1.1 JavaMail classes.