Comment on Tutorial - Sending Email from Java application (JavaMail sample program) By Narayanan



Comment Added by : krishna prasad

Comment Added at : 2011-10-28 10:16:26

Comment on Tutorial : Sending Email from Java application (JavaMail sample program) By Narayanan
hi to all i m getting this error plz solve it and replied to my mail
[email protected]

javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com ;
nested exception is:
java.net.UnknownHostException: smtp.gmail.com
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at SimpleSendEmail.main(SimpleSendEmail.java:45)


View Tutorial



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

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions 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

Multiple Inheritance sample in Java

Archived Comments

1. Finally! You enlighted me in a small problem: it w
View Tutorial          By: Fernando Martin at 2011-02-25 12:54:58

2. it is a big help for us , as a IT student that kn
View Tutorial          By: nelson kent recites at 2012-01-19 08:56:26

3. Thanks for your nice article.I learned a lot
View Tutorial          By: Mahyar at 2012-08-12 12:09:36

4. Showing code with quote tags is pretty rubbish. :/
View Tutorial          By: Daniel Jonsson at 2011-09-01 14:01:04

5. This is very much useful to me to complete my assi
View Tutorial          By: Eva Jhonson at 2012-09-30 16:44:08

6. Thank you
View Tutorial          By: vbulletincoder at 2011-09-13 13:16:40

7. very brief and easy to understand description of R
View Tutorial          By: moona at 2010-05-26 22:49:26

8. Good and optimum introduction to J2ME application
View Tutorial          By: [email protected] at 2013-01-14 10:37:57

9. THANK YOU.. YO SO HELP ME :D
View Tutorial          By: xgamer at 2015-08-06 06:45:52

10. super excellent
View Tutorial          By: mani at 2013-05-27 05:32:06