Author |
|
JerseyMike Newbie
Joined: 02 August 2006 Location: United States
Online Status: Offline Posts: 13
|
Posted: 23 October 2006 at 4:43pm | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 24 October 2006 at 7:38am | IP Logged
|
|
|
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 |
|
|