dcsimg
How to read emails from Outlook Express ?!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Krystof_Malak
Posted On:   Monday, April 28, 2003 01:43 PM

Hi, I want to read emails from my Outlook Express. I read the contents of http://www.jguru.com/forums/view.jsp?EID=1071506 . It does not work in my case. Using a string different then "INBOX" //String folderPath = "INBOX"; String folderPath = "C:\Temp\Inbox"; Folder folder = store.getFolder(folderPath) , I get the following message: Exception in thread "main" javax.mail. FolderNotFoundException: folder is not INBOX at com.sun.mail.pop3.POP3Folder.open(POP3Folder.java:161) at GetMessageExample.main(GetMessageExample.java:31) Thanks for your help, Kryst   More>>

Hi,


I want to read emails from my Outlook Express. I read the contents of


http://www.jguru.com/forums/view.jsp?EID=1071506

.
It does not work in my case. Using a string different then "INBOX"
			
//String folderPath = "INBOX";
String folderPath = "C:\Temp\Inbox";
Folder folder = store.getFolder(folderPath)

, I get the following message:
			
Exception in thread "main" javax.mail. FolderNotFoundException: folder is not INBOX
at com.sun.mail.pop3.POP3Folder.open(POP3Folder.java:161)
at GetMessageExample.main(GetMessageExample.java:31)


Thanks for your help,

Krystof

   <<Less

Re: How to read emails from Outlook Express ?!

Posted By:   John_Zukowski  
Posted On:   Tuesday, April 29, 2003 06:08 AM

The file is not a JavaMail Folder.
About | Sitemap | Contact