Comment on Tutorial - Sending Email from Java application (JavaMail sample program) By Narayanan
Comment Added by : charan
Comment Added at : 2011-10-20 12:59:59
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. through this i understand functional overloading e
View Tutorial By: mahwash at 2012-09-19 15:29:21
2. This Tutorial website is very usefull in my java p
View Tutorial By: V.GeorgeFernandas at 2012-11-26 13:20:59
3. @bibiki, you are right for simpler conditions what
View Tutorial By: Marcin at 2012-04-05 02:34:13
4. oh tnx a lot!i'v been lookin for a code like this!
View Tutorial By: LES at 2012-01-13 12:55:09
5. Nice stuff u guyzz are sharing
View Tutorial By: kunal sharma at 2013-11-19 03:45:08
6. Better theory for those who have just started.
View Tutorial By: kunal at 2010-05-13 05:55:05
7. what are the basic requirements to send sms from p
View Tutorial By: kanagarajan at 2008-01-02 07:52:44
8. Thank you so much....
I am going to have ja
View Tutorial By: Mehrnoosh at 2013-06-09 16:50:23
9. the best site i have found so far for clearing my
View Tutorial By: darkknight at 2013-06-05 05:54:10
10. very helpful
View Tutorial By: Lebo at 2012-04-20 07:37:49