0

i am writing a program that will connect to a hotmail email account a pop all of the emails to my windows form using C# but when i try and set up the enital connecting using TCPClient i get this error message

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 65.55.32.247:110

here is the code i am using to connect to

public TcpClient Server;
        public NetworkStream NetStrm;
        public StreamReader  RdStrm;
 Server = new TcpClient("pop3.live.com", 110);
Ben Wilson
  • 3,057
  • 4
  • 21
  • 20

1 Answers1

2

You're using the wrong port. Use 995.

For further help working with streams to read POP3 mail, see this question.

Community
  • 1
  • 1
Esoteric Screen Name
  • 6,082
  • 4
  • 29
  • 38