Home Discussion Discuss: Sending message using Java Mail

  • Sending message using java mailsandeep May 30, 2011 at 10:51 AM

    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:124.123.89.30, Port No:25; caused by java.net.SocketException: Network is unreachable: connect

  • How to install SMTP in local system?Kishan Khatanhar February 25, 2013 at 5:52 PM

    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?

  • How to setup SMTP server on localhost?kishan Khatanhar February 25, 2013 at 6:28 PM

    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 got errorsantosh January 14, 2012 at 11:13 AM

    I executed the above code but i got error saying that connection is refused? How to solve it.

  • error messagerahul March 11, 2012 at 8:30 PM

    Could not connect to SMTP host error i am getting . please help

  • errorPrashant July 7, 2012 at 6:35 PM

    Exception in thread "main" java.lang.NoClassDefFound Error: SendMail

  • QueryAmit July 8, 2013 at 2:36 PM

    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



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
DMCA.com