authenticate in vb.net

Mar 21, 2012 at 4:10 PM

hi

still a newbie...

i have very simple code for connecting to AOL

when i use it together with the source in C# it works ok

when i use it with the compiled dlls in my vb.net project then authenticate returns false

Dim oIMAP4 = New ImapClient
oIMAP4.Security = SecurityPolicies.Explicit
oIMAP4.Connect("imap.aol.com", 993)
Dim success = oIMAP4.Authenticate(CurConfig.MailUserName, CurConfig.MailPassword, Authentication.SaslMechanics.Login)

can anyone help?
thnas a million!

Coordinator
Mar 21, 2012 at 7:23 PM

Hi yisman,

since there is no difference between C# and VB.NET once its compiled this will not be your problem.

You should check the Debug output while using the Debug dlls. It should tell you whats wrong.

Check username/password for correctness.

Regards

Alex