Secure POP3 Connection with Gmail.
-
I'm using the TcpClient(hostname,port) to retreive my emails, When the port is 110 and is not using a secure connection, i'm successful getting my email, however when I try to read my Gmail account the Tcp,Client just hangs there and there is no option to use the secure connection, how can I make this program connect to my gmail account?
-
I'm using the TcpClient(hostname,port) to retreive my emails, When the port is 110 and is not using a secure connection, i'm successful getting my email, however when I try to read my Gmail account the Tcp,Client just hangs there and there is no option to use the secure connection, how can I make this program connect to my gmail account?
Hi You can use SecLib from Mentalis.Org to establish an SSL - Connection. If you're looking for a Library that supports ssl check http://www.codeproject.com/cs/internet/pop_-_class.asp[^] it's going to be updated soon and the new version supports ssl if you use the framework 2.x, there's a built-in library that supports almost the same things as the mentalis library does for the 1.x framework greets m@u -- modified at 10:47 Wednesday 14th March, 2007
-
I'm using the TcpClient(hostname,port) to retreive my emails, When the port is 110 and is not using a secure connection, i'm successful getting my email, however when I try to read my Gmail account the Tcp,Client just hangs there and there is no option to use the secure connection, how can I make this program connect to my gmail account?
-
There's the System.Net.Security - Namespace in the System.dll of the .Net Framework it contains a class called sslStream. i think to use it you'll have to reference also the System.Security.dll for initializing the stream. here's a little example of how to use it http://msdn2.microsoft.com/en-us/library/system.net.security.sslstream.aspx[^] greets m@u