Access to Exchange public folders

0 votes
asked Feb 15, 2013 by Rebex KB (8,190 points)
edited Feb 15, 2013

We use Exchange server 2007 and store some mails in public folders.
Is it possible using Rebex Secure Mail to read mails from public folders?

Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Feb 15, 2013 by Jan Sotola (16,920 points)
edited Feb 15, 2013

I think that the Public folders cannot be accessed using IMAP in general. Please see the following discussion on Microsoft forum.

However, you can still try it yourself with free trial version like this:

   Imap imap = new Imap();
   imap.Connect("servername");
   imap.Login("username", "password");

   // print the folder list
   foreach (ImapFolder item in imap.GetFolderList())
   {
         Console.WriteLine(item.Name);
   }

   // select desired folder
   imap.SelectFolder("folder");

   // do some work…
...