zipnotic
asked on
Gmail with IMAP and SSL in .NET
Hello,
I am creating just a small app in VS 2008 to access a gmail account with IMAP. Gmail is set up to accept IMAP requests on port 993 and it looks like SSL is mandatory. I am using the library from:
http://www.codeproject.com/KB/IP/imaplibrary.aspx
which I converted to VB.net
The code hangs indefinitely at:
I am thinking there is no SSL support in this library, particularly since people have posted in the comments about adding SSL to the code... Can anyone point me in the right direction for how this library may be modified to handle SSL?
Thank You
I am creating just a small app in VS 2008 to access a gmail account with IMAP. Gmail is set up to accept IMAP requests on port 993 and it looks like SSL is mandatory. I am using the library from:
http://www.codeproject.com/KB/IP/imaplibrary.aspx
which I converted to VB.net
The code hangs indefinitely at:
Try
eImapResponse = Connect(sHost, nPort)
If eImapResponse = ImapResponseEnum.IMAP_SUCCESS_RESPONSE Then
m_bIsConnected = True
Else
Return
End If
Catch e As Exception
Throw e
End Try
I am thinking there is no SSL support in this library, particularly since people have posted in the comments about adding SSL to the code... Can anyone point me in the right direction for how this library may be modified to handle SSL?
Thank You
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.