.NET C# EAGetMail.dll the target machine actively refused it

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jive
    New Member
    • Aug 2008
    • 5

    .NET C# EAGetMail.dll the target machine actively refused it

    I'm using EAGetMail.dll to read mail from a e-mail server and when the program tries to connect to it an error comes out the "failed to make connection becouse the target machine actively refused it"...
    any help?
    here is the code for the connection:

    oClient.Connect (oServer);

    and the exception:

    catch (System.Net.Soc kets.SocketExce ption ep)
    {
    Console.WriteLi ne("Socket Error: {0}", ep.Message);
    }
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    that's a winsock/socket error. It's telling you that there is no server running on the port you are trying to conenct to on the machine you are trying to connect to.

    Comment

    Working...