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
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
MultiLevel Inheritance sample in Java
Archived Comments
1. Hi ! do u know have use FileOutputStream in Surfac
View Tutorial By: lukas at 2011-07-18 16:55:20
2. Thanks Steven, That is an exhaustive list of diffe
View Tutorial By: Robert at 2008-12-08 22:17:47
3. Good introduction to a valuable topic
View Tutorial By: Elayaperumal at 2011-07-18 12:48:15
4. sir will you please tell me how i get out of all t
View Tutorial By: mitali at 2012-05-06 09:54:49
5. Yes, you can use the newer one as follows
View Tutorial By: John at 2012-08-11 01:40:46
6. Very clearly explained...
View Tutorial By: Bina at 2010-04-08 06:56:37
7. good
View Tutorial By: rajesh sharma at 2011-07-18 05:20:56
8. hi,
my problem is.......
i use vb.ne
View Tutorial By: Anirban at 2009-10-25 10:15:13
9. Plz show me how to use main method reccurssively p
View Tutorial By: Jyoti Bankar at 2011-07-14 10:31:53
10. Thank you for good explanation. I am thinking of u
View Tutorial By: Darshan at 2012-06-22 15:44:57