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



Comment Added by : Rajesh Vaddi

Comment Added at : 2011-12-13 23:55:15

Comment on Tutorial : Sending Email from Java application (JavaMail sample program) By Narayanan
Including the required mail properties should solve most of the errors listed above.... try it out

mail.smtp.host
mail.username
mail.password
mail.port

and the trick is how these parameters are being used and passed to the framework on which the application is running.


View Tutorial



Ask a Question

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. Thanks for the code. The code runs fine without an
View Tutorial          By: aanube at 2012-08-22 10:12:54

2. In my Midlet class there is a constructor which i
View Tutorial          By: nicolas at 2011-11-12 21:35:58

3. hi everybody....

please use comm.j

View Tutorial          By: manoj at 2012-09-24 10:41:34

4. I Want more Advanced Case Shown...
I Know E

View Tutorial          By: Electron at 2009-11-23 02:32:07

5. Thanks for the explanation. I had read about this
View Tutorial          By: Sidharth Sahoo at 2012-09-12 16:26:07

6. Good Article. Small and Sweet...
View Tutorial          By: Anupam Pawar at 2009-05-27 03:04:08

7. this is really helpful example for Learning RMS in
View Tutorial          By: Ahmed Nawaz Mari at 2011-06-30 05:29:18

8. hey...i have a problem getting the system date in
View Tutorial          By: angel at 2010-04-03 09:27:38

9. Thanks a lot for this very fruitful and amazingly
View Tutorial          By: Gaurav Saxna at 2011-06-15 06:20:18

10. Thanks a lot of!! at last I understood how use Arr
View Tutorial          By: Juan Carlos Aviles at 2011-03-11 05:22:03