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. Dear All...................,
I have run the

View Tutorial          By: Ashraf Abu Aisheh at 2008-12-01 13:52:42

2. Very Useful tutorial for beginners.. Thanx
View Tutorial          By: Rohini at 2010-02-23 23:16:16

3. Good work, IT really help me a lot;
View Tutorial          By: TUSHAR at 2010-02-03 01:25:37

4. i am getting this error how to erase it please tel
View Tutorial          By: laxmibvsn at 2012-10-16 15:45:05

5. hai
View Tutorial          By: ayyannan at 2011-01-21 21:27:35

6. ya its good example
View Tutorial          By: vijaychellappa at 2010-11-10 04:57:42

7. Guys, txtWeb is back with their National Level Dev
View Tutorial          By: rahul.del at 2012-08-16 10:01:09

8. Very informative article, this is the exact articl
View Tutorial          By: Abhinav bindra at 2012-03-23 14:00:12

9. i need full program for connect oracle to struts l
View Tutorial          By: Munaver Basha at 2010-09-30 01:28:10

10. i got really nice help from the code. Thanks.
View Tutorial          By: Amit at 2009-04-10 08:18:40