0

I am using javamaildir to read e-mail messages from the physical folder on windows machine. I am passing the url as "maildir:D:\\home\\test\\maildir". the direcotry maildir has the email message. I am able to connect to the store "maildir:D:\home\test\maildir", but when i am trying to getFolder("inbox"), I'm getting the exception saying 'folder 'INBOX' not found' is that folder named with inbox is by default for javamaildir?.

I need two clarifications:

  1. Am i approaching in the right way?
  2. There is a dot problem in accessing the folder using javamaildir on windows , can we hanlde it programatically...

Your suggetions will be helpful

Thanks in advance.........

KV Prajapati
  • 93,659
  • 19
  • 148
  • 186
rakesh
  • 1

1 Answers1

0

I ran into a similar issue with reading the UNIX style maildir folders on Windows. These folders typically have a inbox folder named .INBOX which seems to cause issues on Windows. From what I could tell the javamaildir library expects the inbox folder to have the '.' in the name.

I don't really have a good solution, however I had a similar post here. Not sure if it would be much help. Good Luck!

Community
  • 1
  • 1
Michael
  • 2,460
  • 3
  • 27
  • 47