Hi rodolfolopes,
I think the exception is thrown because the folders are not getting intialized. From your code above, I can say that you should check if the client has connected and authenticated. Simply check if both, the result of _ImapClient.Connect _and ImapClient.Login are true.
Greets,
Pavel
I think the exception is thrown because the folders are not getting intialized. From your code above, I can say that you should check if the client has connected and authenticated. Simply check if both, the result of _ImapClient.Connect _and ImapClient.Login are true.
Greets,
Pavel