Problem in POP3 Server
-
I have faced the problem while connecting the POP3 Server. Actually the pop3 server is connected but the following error is occured when disconnecting the server. Data = "QUIT " + CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData,0,szData.Length); NetStrm.Close(); Object reference not set to an instance of an object. Help me. SR Ranjini
-
I have faced the problem while connecting the POP3 Server. Actually the pop3 server is connected but the following error is occured when disconnecting the server. Data = "QUIT " + CRLF; szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray()); NetStrm.Write(szData,0,szData.Length); NetStrm.Close(); Object reference not set to an instance of an object. Help me. SR Ranjini
Either NetStrm is null or szData is Null. Did you check out the values of these in QuickWatch? Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
http://deepakvasudevan.blogspot.com/
http://deepak.blogdrive.com/