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. farhaan, thats why I said, "Using the HTML Bu
View Tutorial          By: Charles at 2008-03-21 01:36:46

2. Thanks for a nice article !!!
View Tutorial          By: Piyush Sharma at 2011-12-15 12:24:06

3. Zabardast
View Tutorial          By: Rohan at 2011-11-03 08:25:59

4. Good one!!!!!!!!
View Tutorial          By: Manya at 2011-06-30 11:59:25

5. example is good for understand what is the functio
View Tutorial          By: Ankit Shukla at 2009-09-17 15:25:17

6. Hi All,

I am new to J2ME Applicatio

View Tutorial          By: golemnagesh at 2010-12-05 22:43:50

7. Good example...easy to read and understand...
View Tutorial          By: Codventure at 2009-09-11 00:07:06

8. Please help here...
I tried both 0300460423

View Tutorial          By: Zafar Iqbal at 2013-04-02 20:14:29

9. hi i m vinit jain. i m working on the same project
View Tutorial          By: vinit jain at 2010-02-09 12:16:01

10. The code is working for me as i have included &quo
View Tutorial          By: MOHAN at 2011-06-29 04:08:04