ImapX を使用してメール アカウントのフォルダーを取得できません。
ImapX.ImapClient m_ImapClient = new ImapX.ImapClient( ImapServerAddress, (int) ImapServerPort, System.Security.Authentication.SslProtocols.Ssl3, false);
m_ImapClient.Connect();
m_ImapClient.Login( EmailAddress, EmailPassword);
//the two functions above each return true
//this last statement throws an exception:
ImapX.Collections.FolderCollection vFolders = m_ImapClient.Folders;
そしてそれは:
'm_ImapClient.Folders' threw an exception of type 'System.NullReferenceException' ImapX.Collections.CommonFolderCollection {System.NullReferenceException}
IMAP、ssl、ポート 993 を使用しています。ImapX 2.これは 993 の imap.google.com では機能しますが、別のネットワーク サーバーでは機能しません。