Hi,
Consider the following snippet from an IMAP4 protocol logging:
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Hello there.
[...]
C: X00000004 LIST "" "%" RETURN (SUBSCRIBED CHILDREN)
S: * LIST (\Subscribed \HasNoChildren) "." Sent
S: * LIST (\Subscribed \HasNoChildren) "." Trash
S: * LIST (\Subscribed \HasNoChildren) "." Drafts
S: * LIST (\Subscribed \HasChildren) "." [Gmail]
S: * LIST (\HasNoChildren) "." INBOX
S: X00000004 OK List completed.
IMailFolder.FullName returns the fullname as [Gmail. So the right square bracket is missing, which results in not being able to iterate through the folder structure.
Other IMAP4 servers that I've seen return "[Gmail]" instead of [Gmail] in the response to the LIST command, which does not cause any problems.
Please advise, thanks!
Hi,
Consider the following snippet from an IMAP4 protocol logging:
IMailFolder.FullName returns the fullname as
[Gmail. So the right square bracket is missing, which results in not being able to iterate through the folder structure.Other IMAP4 servers that I've seen return
"[Gmail]"instead of[Gmail]in the response to the LIST command, which does not cause any problems.Please advise, thanks!