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. regarding 'TextMessage' and 'MessageConnection' er
View Tutorial          By: gaurav at 2012-04-24 11:57:17

2. Could you please explain how to define our own val
View Tutorial          By: xxxxx at 2010-06-30 06:41:14

3. Thank u it helps me alot.....
View Tutorial          By: Ramya at 2012-02-22 10:16:14

4. I have to ask; Where do we put the text boxes?
View Tutorial          By: Jeremy at 2010-10-07 14:37:07

5. great work..keep it up.
View Tutorial          By: faizaan at 2011-04-29 12:23:39

6. I want to know more about Java Garbage collection,
View Tutorial          By: Prosenjit Kundu at 2010-05-08 09:42:40

7. i need table example!!!...
View Tutorial          By: Sadyog at 2011-01-03 21:59:09

8. Superb

many thanks to you Mashoud.

View Tutorial          By: orchidouest at 2009-05-10 12:58:53

9. Hello my question is that . I want to run a audio
View Tutorial          By: Bharath at 2011-08-09 04:14:53

10. i want to SCJP exam ,tell how to apply for this ex
View Tutorial          By: jasmina at 2013-04-22 11:05:53