This project is read-only.

POP3 with Gmail - not authenticating

Nov 2, 2011 at 4:07 PM


I'm using equinox build 11903.

I'm struggling to connect to a gmail account using POP3. I've enabled pop3 for this account, and I'm succesfully retrieving mail using Outlook.

According to Google, I should use SSL - I believe this means I should use "explicit", yes?

But it seems that authentication fails.... (the IsAuthenticated property returns False)


Any advice?   Or could you post a simple sample app that shows how to use POP3 to connect to Gmail?


My code:


Using PC = New Crystalbyte.Equinox.Pop3.Pop3Client 

PC.Security = Crystalbyte.Equinox.Security.SecurityPolicies.Explicit

PC.Connect("", 995)

PC.Authenticate("", "mypassword123")


 Dim R = PC.Top(1, 20)


 Console.WriteLine("Headers: ")

  For Each H In R.Headers


       Console.WriteLine(" {0} : {1}", H.Name, H.Value)



End Using 

Nov 3, 2011 at 3:40 AM
Edited Nov 3, 2011 at 3:42 AM


Google usually does not publish authentication mechanisms, which means the client will not be able to automatically sign you in.

You should try specifying the mechanism to be used manually by adding it as a third param to the "Authenticate" method.

PC.Authenticate("", "mypassword123", SaslMechanics.Login)

Regards Alex