Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: SSL related win32 error Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
JerseyMike
Newbie
Newbie


Joined: 02 August 2006
Location: United States
Online Status: Offline
Posts: 13
Posted: 23 October 2006 at 4:43pm | IP Logged Quote JerseyMike

Related to my previous post, looks like this server uses port 143 instead. In trying to connect to the server via IMAP on port 143, we now receive this in the error logs:

[16:39:36.27] [INFO] Socket connected to IP address 1.1.1.1 on port 143.
[16:39:36.35] [INFO] Error: SSL-related Win32 function returned an error. See NativeErrorCode property value for more information. The Win32 error code is: -2146893048.

Ideas???
Back to Top View JerseyMike's Profile Search for other posts by JerseyMike
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 24 October 2006 at 7:38am | IP Logged Quote Andrew

Because you're using SSL connection to regular port (143), you should use STARTTLS to turn on SSL instead of turning on SSL at connect. You should use:

Code:
Imap imp = new Imap();
imp.SslMode = SslStartupMode.UseStartTls;


instead of:

Code:
Imap imp = new Imap();
imp.SslMode = SslStartupMode.OnConnect;
Back to Top View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide