Hi Samarjeet, If you give wrong server entry, however It'll give an error like "Relay access denied on 5.7.xx" like that and if u give a wrong credentials it'll throw an error like "Could not connect to the host...". From these errors you can show your custom message to the user. I hope u understand it :thumbsup:.
Rajendra Prasad Panchati .Net/Sharepoint Software Enginner, Hyderabad.