Sir,when i run this code.I'm getting the following exception
Exception in thread "main" javax.mail.MessagingException: could not connect to SMTP host:188.8.131.52, Port No:25;
caused by java.net.SocketException: Network is unreachable: connect
For the Java code above to work, it should have SMTP server setup on host (192.168.10.205 in your case). I want to send a mail using Java with host value as "localhost". Can you please tell me how to setup SMTP server on Windows 7 professional?
I want to send mail using Java with host value as "localhost". I suppose you have SMTP server setup on 192.168.10.205 server. Can you please tell me how to setup SMTP server on localhost?
I executed the above code but i got error saying that connection is refused? How to solve it.
Could not connect to SMTP host error i am getting .
Exception in thread "main" java.lang.NoClassDefFound Error: SendMail
sir i want to make this mailing application in netbeans ide but but i m not able to make, can u please explain me how to make this application in netbeans
Post your Comment