Page 1 of 1

if the imap mail's topic is duplicate ,can't import mail

PostPosted:Mon Mar 08, 2010 1:58 am
by wangmj
bug report :

if the imap mail's topic is duplicate ,openkm4.0 can't import the mail.

Re: if the imap mail's topic is duplicate ,can't import mail

PostPosted:Thu Mar 11, 2010 4:28 pm
by pavila
When OpenKM import emails form an IMAP account, the repository node is the combination of the message subject + the message UID. As far as I know, this combination will generate unique node names. Look at line 237 at MailUtils.java:
Code: Select all
mail.setPath(path+"/"+((IMAPFolder)folder).getUID(msg)+"-"+FileUtils.escape(msg.getSubject()));
If you can reproduce the problem, please fill a issue ticket at http://issues.openkm.com to handle it in the right way.

Re: if the imap mail's topic is duplicate ,can't import mail

PostPosted:Fri Mar 12, 2010 9:42 am
by wangmj
Thanks for your response.

I find the reason. two mail,the mail's msg and subject are the same!