A problem appears after calling LIST command to an Exchange mail server. The server returns a list of folders like:
* LIST (\HasChildren) "/" "Filed Mail"
* LIST (\HasNoChildren) "/" "RSS Feeds"
which are parsed just fine with regular expression in ImapFolder class, ParseFolder method with some RegularExpressions. But the server also sends something like this:
* LIST (\HasNoChildren) "/" INBOX/Edible
* LIST (\HasChildren) "/" Outbox
* LIST (\HasNoChildren) "/" Journal
* LIST (\HasNoChildren) "/" Notes
or even:
* LIST (\HasNoChildren) "/" INBOX/*************************
and these cases the current RegularExpression don't work anymore.
Any idea? why the IMAP Exchange server sends this stuff? how can this RegularExpression be edited to support also these strings?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A problem appears after calling LIST command to an Exchange mail server. The server returns a list of folders like:
* LIST (\HasChildren) "/" "Filed Mail"
* LIST (\HasNoChildren) "/" "RSS Feeds"
which are parsed just fine with regular expression in ImapFolder class, ParseFolder method with some RegularExpressions. But the server also sends something like this:
* LIST (\HasNoChildren) "/" INBOX/Edible
* LIST (\HasChildren) "/" Outbox
* LIST (\HasNoChildren) "/" Journal
* LIST (\HasNoChildren) "/" Notes
or even:
* LIST (\HasNoChildren) "/" INBOX/*************************
and these cases the current RegularExpression don't work anymore.
Any idea? why the IMAP Exchange server sends this stuff? how can this RegularExpression be edited to support also these strings?