c# - Unable to retrieve email folders on specific mail server.. possible causes -
i failing retrieve folders of email account using 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 2 functions above each return true //this last statement throws exception: imapx.collections.foldercollection vfolders = m_imapclient.folders;
and is:
'm_imapclient.folders' threw exception of type 'system.nullreferenceexception' imapx.collections.commonfoldercollection {system.nullreferenceexception}
what's wrong, i'm using imap, ssl, port 993. imapx 2. works imap.google.com on 993, doesn't work network server.. ideas of why happen?
this issue has been fixed, thank you! details see issue: unable mail folders after successfull login on imap server. problem occured on parsing information returned imapx server folders. servers not quote folder names.
Comments
Post a Comment