troubleshooting Question

Gmail with IMAP and SSL in .NET

Avatar of zipnotic
zipnoticFlag for United States of America asked on
Email SoftwareVisual Basic.NETSSL / HTTPS
1 Comment1 Solution1281 ViewsLast Modified:

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:

which I converted to

The code hangs indefinitely at:

                eImapResponse = Connect(sHost, nPort)
                If eImapResponse = ImapResponseEnum.IMAP_SUCCESS_RESPONSE Then
                    m_bIsConnected = True
                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
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros