This project is read-only.


Jan 29, 2014 at 9:29 PM
Hi. here is my code, it had worked perfectly fine before, but today it just stopped working and threw an exception at IMAPClient.Authenticate(). Dose anyone have any idea? Thanks in advance
        Dim IMAPClient As New Imap.ImapClient("")

        IMAPClient.ServerName = ""
        IMAPClient.Port =993
        IMAPClient.UserName = ""
        IMAPClient.Password = "xxx"
        IMAPClient.ReceiveTimeout = 20 * 1000
        IMAPClient.Ssl = True
        If (IMAPClient.Authenticate() = True) Then
        end if
Feb 6, 2014 at 11:36 PM
Recently, I have had a trouble caused by jstedfast.

I had taken so much time to handling it.
I suggest that network settings or other may cause your problem.
Because it worked before.

If I could have a time, I'll check my library.
Please wait for it.

Feb 11, 2014 at 3:15 PM

I have the same problem that amyyou noticed.

I tried to run the same code from the documentation for the gmail inbox, but it doesn't work, throwing an exception with no message

Thank you in advance! :)
Feb 11, 2014 at 4:12 PM
Hello again!

I believe there is a problem with the constructor because:
  • When I write :
using (var cl = new ImapClient(""))
                cl.Port = 993;
                cl.Ssl = true;
                cl.UserName = "";
                cl.Password = "Nokiangage1";
              //  cl.ServerName = "";
                bool bl = cl.Authenticate();
it throws the messageless exception. But if I decomment the line with cl.ServerName = "", the Authenticate method work well.

Unfortunately, this observation doesn't help amyyou, but I thought that it might help others :)

Feb 11, 2014 at 5:16 PM
Thank you for your report.

Actually, StefanTurcanu's way resolve problem.
The bug is the value you passed to constructor never set to ServerName.
Please check ServerName property' value by debugger.

Perhaps I checked in bad version by mistake.
Amyyou, what's version do you use?
I will fix it latest version.