Comment on Tutorial - Sending Email from Java application (JavaMail sample program) By Narayanan
Comment Added by : anith
Comment Added at : 2011-03-13 06:02:31
Comment on Tutorial : Sending Email from Java application (JavaMail sample program) By Narayanan
hai, i tried the abvoe code, m getting the follwing errors... please help me...
javax.mail.SendfailedException: sending failed;
nested exception is:
java.mail.messagingexception; could not connect to SMTP host :localhost,port:25;
nested exception is:
javax.net.connectexception: connection refused:connect
at javax.mail.transport.send0(transport:java:219)
at javax.mail.transport.send(transport:java:81)
at sendemail.main(sendemail.java;49)
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. Hi,
Its good but you can make it more bette
View Tutorial By: vishakha sharma at 2010-12-15 06:14:52
2. Hi,
this is excellent stuff and I highly ap
View Tutorial By: Nanda at 2007-11-02 04:58:30
3. hi..... i m newly in java ,i want to learn about t
View Tutorial By: ashwini at 2012-08-09 08:01:34
4. this is really helpful example for Learning RMS in
View Tutorial By: Ahmed Nawaz Mari at 2011-06-30 05:29:18
5. HELP ME HOW TO ANALZE THE PROGRAM??????????
View Tutorial By: MICHELLE FLORES at 2009-01-21 23:24:52
6. Thanks heaps, I had the file already there but it
View Tutorial By: Jb at 2009-05-14 08:13:08
7. the superb way of making new concepts learn with e
View Tutorial By: Ghulam MOhmad at 2008-09-18 23:43:42
8. Thank you for good explanation. I am thinking of u
View Tutorial By: Darshan at 2012-06-22 15:44:57
9. it worked fine in solving an algorithm assingment.
View Tutorial By: tunde bello at 2009-11-05 06:31:28
10. hi all i receive below error can any one help me p
View Tutorial By: Purushothaman at 2009-04-03 17:38:42