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



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. Plz. help me in getting code to read messages usin
View Tutorial          By: Jaydatta at 2009-04-03 20:58:57

2. thanks excellent explanation!!!!!!!!
View Tutorial          By: divya at 2012-01-01 17:37:32

3. This does not work in following case :
Cli

View Tutorial          By: Amardeep at 2010-01-20 05:59:21

4. If you are working with the multi-threaded program
View Tutorial          By: Prithvi at 2010-01-07 10:24:12

5. Hi Alvin, in order to send sms from phone I suuges
View Tutorial          By: Vasan at 2008-03-21 01:44:02

6. how limit for no of users for particular role to s
View Tutorial          By: priyanka at 2014-12-16 13:39:55

7. Hi, I need the complete working code for sending a
View Tutorial          By: Balaji Srikaanth at 2007-03-10 01:22:35

8. The textarea value(finalresult) i want save in Tre
View Tutorial          By: anbalagan.s at 2007-10-17 05:10:19

9. hou to cal activity of one project into another pr
View Tutorial          By: manjunath at 2012-01-02 15:45:32

10. give me some logics for programs as soon as possib
View Tutorial          By: nari at 2011-12-07 18:28:03