Archived Forum Post

Index of archived forum posts

Question:

Intermittent Error using .NET imap

Apr 11 '14 at 12:38

Get this error SOMETIMES:

ChilkatLog:
  Connect_Imap:
    DllDate: Mar 26 2014
    ChilkatVersion: 9.5.0.23
    UnlockPrefix: SDDOCSIMAPMAIL
    Username: VMREADER1:administrator
    Architecture: Little Endian; 32-bit
    Language: .NET 4.0
    VerboseLogging: 0
    hostname: imap.secureserver.net
    port: 143
    socketOptions:
      SO_SNDBUF: 8192
      SO_RCVBUF: 8192
      TCP_NODELAY: 1
    --socketOptions
    ConnectionType: Unencrypted TCP/IP
    recvUntilMatch: Socket connection closed.
    getImapResponseLine: Socket connection closed.
    Failed to get greeting.
    connect failed.
  --Connect_Imap
--ChilkatLog

Answer

It's likely the server is not allowing unencrypted connections. Change your Chilkat IMAP property settings to use SSL/TLS w/ the correct IMAP port (typically 993).