frieky / imapcopy

Automatically exported from code.google.com/p/imapcopy
0 stars 0 forks source link

Exclude Folder "Other Users" #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

2010-09-07 11:59:09,404 DEBUG ImapCopier - Creating target Folder: Other Users
Exception in thread "main" javax.mail.MessagingException: folder cannot contain 
messages
    at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1003)
    at com.fisbein.joan.model.ImapCopier.copyFolderAndMessages(ImapCopier.java:171)
    at com.fisbein.joan.model.ImapCopier.copyFolderAndMessages(ImapCopier.java:193)
    at com.fisbein.joan.model.ImapCopier.copy(ImapCopier.java:152)
    at com.fisbein.joan.model.ImapCopier.main(ImapCopier.java:35)

What version of the product are you using? On what operating system?
the newest

Please provide any additional information below.

Is ist possible to exclude folders? "Other Users" will cause problems.

Original issue reported on code.google.com by mail2tis...@gmail.com on 7 Sep 2010 at 10:08

GoogleCodeExporter commented 8 years ago
I have the same problem with a ~Public Folder

Original comment by b...@realtyweb.net on 20 Jun 2011 at 8:01

GoogleCodeExporter commented 8 years ago
I am also getting similar:

Exception in thread "main" javax.mail.MessagingException: folder cannot contain 
messages
    at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1003)
    at com.fisbein.joan.model.ImapCopier.copyFolderAndMessages(ImapCopier.java:171)
    at com.fisbein.joan.model.ImapCopier.copyFolderAndMessages(ImapCopier.java:193)
    at com.fisbein.joan.model.ImapCopier.copy(ImapCopier.java:152)
    at com.fisbein.joan.model.ImapCopier.main(ImapCopier.java:35)

Original comment by DJD...@gmail.com on 8 Jul 2011 at 10:48

GoogleCodeExporter commented 8 years ago
Same issue here except with a user folder:

DEBUG ImapCopier - Creating target Folder: user
Exception in thread "main" javax.mail.MessagingException: folder cannot contain 
messages
    at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1003)
    at com.fisbein.joan.model.ImapCopier.copyFolderAndMessages(ImapCopier.java:171)
    at com.fisbein.joan.model.ImapCopier.copyFolderAndMessages(ImapCopier.java:193)
    at com.fisbein.joan.model.ImapCopier.copy(ImapCopier.java:152)
    at com.fisbein.joan.model.ImapCopier.main(ImapCopier.java:35)

Original comment by compdave...@gmail.com on 7 Oct 2012 at 3:37