SSL in Pop3 connection
-
Hi All, I am trying to develop POP3 application in C# and have successfully managed to create a connection with POP3 server on port 110. here is the sample code ihv written for this: Server = new TcpClient(POPServ.Text, 110); NetStrm = Server.GetStream(); RdStrm = new StreamReader(NetStrm); Inorder to retrieve messages from a service such as Gmail, i need to enable the SSL. I don't want to use any pre-built component. Is it possible to use SSL functionality without using any 3rd party components?? if so, could anyone please assist me on this... Meanwhile, I have tried to connect to gmail server using the port 995. Its connected successfully, but my application getting hanged at particular line of code: (bolded below) Server = new TcpClient(POPServ.Text, 995); NetStrm = Server.GetStream(); RdStrm = new StreamReader(NetStrm); plz help me on this issue... Thanks in Advance.
-
Hi All, I am trying to develop POP3 application in C# and have successfully managed to create a connection with POP3 server on port 110. here is the sample code ihv written for this: Server = new TcpClient(POPServ.Text, 110); NetStrm = Server.GetStream(); RdStrm = new StreamReader(NetStrm); Inorder to retrieve messages from a service such as Gmail, i need to enable the SSL. I don't want to use any pre-built component. Is it possible to use SSL functionality without using any 3rd party components?? if so, could anyone please assist me on this... Meanwhile, I have tried to connect to gmail server using the port 995. Its connected successfully, but my application getting hanged at particular line of code: (bolded below) Server = new TcpClient(POPServ.Text, 995); NetStrm = Server.GetStream(); RdStrm = new StreamReader(NetStrm); plz help me on this issue... Thanks in Advance.
Hi It depends on the .net version you use. if you're using .net 1.1 you will have to use a 3rd party library (the mentalis.org security lib is pretty good and free) in .net 2.0 there are security classes in the System.Net.Security - Namespace greets m@u
-
Hi It depends on the .net version you use. if you're using .net 1.1 you will have to use a 3rd party library (the mentalis.org security lib is pretty good and free) in .net 2.0 there are security classes in the System.Net.Security - Namespace greets m@u