المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : IP Address Error



C# Programming
01-20-2010, 10:10 AM
Hi Friends

An error "An Invalid IP address was specified" occuring while compiling below code


string Server ="smtp.mymail.com";

IPEndPoint ipe = new IPEndPoint(IPAddress.Parse(Server), 25);


please give a solution to overcome error

thanks in advance

-kk.tvm-