Hey guys I am working through the Java Mail Tutorial and am trying to read an attachment using the code given in the tutorial but get a
class expected error at:
Multipart mp = message[].getContent();
Does anyone know what I am doing wrong? Oh and by the way, message[] is the inbox using the code:
Folder folder = store.getFolder("INBOX");
folder.open(Folder.READ_ONLY);
Message message[] = folder.getMessages();
any help is greatly appreciated, Scott