login about faq

I read folder list from a IBM Lotus Domino server, but it seems that a path like 'folder1/subfolder2' has been read as 'folder1subfolder2' with no separator. Is there something to set befor asking folder list?

asked Oct 25 '16 at 06:59

Missile's gravatar image

Missile
11


Try explicitly setting the Imap.SeparatorChar property, or alternatively call ListMailboxes for the purpose of setting it. See the online reference documentation for SeparatorChar:

The ListMailboxes method has the side-effect of setting this property to the correct value because the IMAP server's response when listing mailboxes includes information about the separator char.

link

answered Oct 26 '16 at 09:30

chilkat's gravatar image

chilkat ♦♦
12.8k317366476

I think the problem is about lotus domino setup, 'cause after listmailboxes the SeparatorChar is '-' like server setup, but when I use mailboxes.GetName the result has no separator at all. Is it possible that an imap server didn't put separator in folder path ?

P.S. I noticed that some folder has the separator in the name, may this cause the problem?

link

answered Oct 26 '16 at 10:03

Missile's gravatar image

Missile
11

edited Oct 26 '16 at 10:04

I found that Lotus Notes/Domino uses backslash as separator char and I think that is why all folders has no separator. Now I've created a parser to recreate the folder tree even without separator and using the backslash for request all work fine

link

answered Oct 28 '16 at 02:56

Missile's gravatar image

Missile
11

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×10
×6
×3
×3

Asked: Oct 25 '16 at 06:59

Seen: 493 times

Last updated: Oct 28 '16 at 02:56

powered by OSQA