... as a parameter, you must resolve it to ip address first, using Gethostbyname function. By the way, are you sure http://www.supereva.it host is offering pop services and not webmail? How do you resolve it? easy if WsaStartup() == 0 cIp := gethostbyname("yourhost.com") ...