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



Subscribe to Tutorials

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

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

Java program using Method Overriding

Archived Comments

1. Fantastic yaar .realy very good n simple example..
View Tutorial          By: Satya at 2012-10-11 09:33:17

2. thanks!
View Tutorial          By: leny at 2014-12-09 04:00:44

3. hi....I have a project, and need help please. I ne
View Tutorial          By: kelvin65 at 2009-05-25 10:03:07

4. Great!! Many thanks!
View Tutorial          By: Louis at 2013-06-01 23:16:41

5. simple and clear , thanks a lot!
View Tutorial          By: Steiner at 2012-01-29 19:44:57

6. please add code snippets.
View Tutorial          By: jan at 2010-07-27 18:49:53

7. Yes Left shift result is wrong its like
5

View Tutorial          By: Ragunath k at 2010-05-10 04:45:33

8. i need a source to send and receive SMS through th
View Tutorial          By: morteza at 2010-03-03 01:53:09

9. What happens if applied to an integer array?
View Tutorial          By: SHUVO at 2015-07-01 21:14:16

10. Cant be compiled, i got error with this msg:. cann
View Tutorial          By: ken at 2011-04-17 04:32:36