Free Support Forum - aspose.com

Is there any way to distinguish which folder is public folder and which folder is shared folder

Is there any way to distinguish which folder is public folder and which folder is shared folder

When I call function Aspose.Email.Clients.Imap.ImapClient.ListFolders, I can get all the top folders including Public folders and shared folders, how can I distinguish them

Hi Team,
Any update?

@gavin.zhao,

I have observed your requirements and have seen similar query from you in another forum thread too. Can you please check my following response and try on your end.

@mudassir.fayyaz
It’s different, in this case, I want to confirm whether the folder is Public folder or shared folder, there is no corresponding value in ImapSpecialFolderTypes enum

   NotSpecified = 0,
    Regular = 0,
    All = 1,
    Archive = 2,
    Drafts = 3,
    Flagged = 4,
    Junk = 5,
    Sent = 6,
    Trash = 7,
    Important = 8

@gavin.zhao,

I request you to please visit the below link for your kind reference.