I'm a beginner to java. I have written a program that send out email. It compile fine but when i try to run it , it gives me the following exception
This is my program:
Could someone plz help me out with this or point me to the right direction. My ISP is rogers hi speed. They told me hostname of SMTP server was "smtp". When i try "ping smtp" command in DOS. I get the following
I have no idea what that means. Any help or suggestions would be greatly appreciated. THanks