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



Comment Added by : Tapaswini Sabat

Comment Added at : 2011-11-05 12:43:49

Comment on Tutorial : Sending Email from Java application (JavaMail sample program) By Narayanan
hello after working with this code i got the follwing Exception message
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. jm5sm18410921pbc.1

at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at in.xyz.SimpleSendEmail.main(SimpleSendEmail.java:47)


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. one have to store .wav file in res folder of your
View Tutorial          By: swetha at 2013-06-14 06:47:57

2. Hi, I need the library of Communication API, to ru
View Tutorial          By: arun at 2008-10-23 05:10:06

3. Very helpful!!
View Tutorial          By: mahesh at 2012-07-12 06:24:50

4. Awesome work! Ramlak, thank you for your help!
View Tutorial          By: ico at 2011-03-21 04:23:11

5. what items do i add?
View Tutorial          By: Camo at 2015-09-30 23:02:10

6. How to send to multiple mobiles at a time
View Tutorial          By: rakesh at 2010-04-30 10:33:51

7. Nice work sir... it was very easy to understand ke
View Tutorial          By: AsadUllah at 2012-11-20 19:05:29

8. hai, i tried the abvoe code, m getting the follwin
View Tutorial          By: anith at 2011-03-13 06:02:31

9. Hi,
I want to write an Android Application,

View Tutorial          By: Kara at 2014-11-20 07:39:03

10. yes it is very gud but i have still a doubt that i
View Tutorial          By: Akheel at 2010-10-10 09:41:13