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. I tried the first option i.e for refresh use Forwa
View Tutorial          By: dinesh at 2009-07-31 05:31:23

2. Please tell me the process, how to compile the mid
View Tutorial          By: Manish at 2008-11-14 13:33:43

3. I get the exception with the message "Permiss
View Tutorial          By: Jan at 2011-07-20 08:58:55

4. how about this?...
#include<iostream.h&g

View Tutorial          By: nadia at 2010-10-04 21:48:04

5. Hi to every body,

I very new to con

View Tutorial          By: Srinivas at 2011-09-15 10:04:37

6. Great details you provided here, very straight for
View Tutorial          By: Jackie Wong at 2010-02-05 10:52:25

7. pls sed total informatio about c++
View Tutorial          By: anu at 2009-07-22 11:13:07

8. can I ask question? how to make a complete program
View Tutorial          By: manuel at 2012-08-13 10:06:24

9. class Abc
{
public void display()
View Tutorial          By: Umapathi REddy at 2012-05-23 09:54:29

10. hi!
how can i add variable form object to a

View Tutorial          By: rushi at 2015-07-16 08:18:58