Question:

How can I access Public Folders in IMAP? This does not work:

imap.SelectMailbox(“Public Folders”)

Answer:

The syntax in Outlook may be different than what is actually
used in the underlying IMAP protocol. For example, in Outlook you may see
“public folders\all public folders\test”, but you would instead use:

imap.SelectMailbox(“public folders/test”)