RemoteException wrapping System.ArgumentException: La carpeta especificada no existe

Hi,

I’m trying to get mail from a public folder trough GetExchangeMailMessages, but it doesn’t work because this error
RemoteException wrapping System.ArgumentException: La carpeta especificada no existe. (specified folder does not exist)

If the folder is in my mail box folder section,and using at Target the path of it, it works, but if i’m trying to set a public folder using Target.SharedMailbox property the error occurs.

I’m not sure if I’m setting the right value on this property (path of folder) of if i have to use another one.

Anybody can help me please?

Hi welcome to the community!
Are you setting the path like this:
“\Parent\Path\myPublicFolder” ?

Yes, something like\email@server.es\Public folders\foder

Did you try using Outlook activity to see if it can reach that folder? maybe has some limitation in exchange activity and public folders…

Yes i tried to, but same issue. The problem, is that I’m not sure if I’m using properly this property, do you have an screenshot of values to be set at SharedMailbox ?

I dont use them, but you should input them as you see them in your outlook…