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



Comment Added by : anju

Comment Added at : 2009-05-22 07:42:11

Comment on Tutorial : Sending Email from Java application (JavaMail sample program) By Narayanan
I tried this code,but is showing this error

com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticate
d

at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1
333)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:906)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:535)
at javax.mail.Transport.send0(Transport.java:151)
at javax.mail.Transport.send(Transport.java:80)
at SimpleSendEmail.main(SimpleSendEmail.java:32)

Please tell me what is the error.


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. It's a good article.Would you please elaborate th
View Tutorial          By: Chandra at 2015-10-05 12:24:24

2. Actually, looking at the code, it looks as somethi
View Tutorial          By: Johnson at 2009-07-28 08:14:38

3. Do the serialized output is displayed in the file
View Tutorial          By: Atihs at 2012-11-17 02:38:52

4. Following question to this topic:
- when i

View Tutorial          By: Alistair at 2012-01-14 10:59:52

5. Please assist me in getting the code to read messa
View Tutorial          By: Jaydatta at 2009-04-05 23:24:57

6. i have run the program..bt there r so many excepti
View Tutorial          By: ayan at 2010-05-26 10:37:51

7. i want to do a program by using convertView with e
View Tutorial          By: Shahana Akter at 2014-09-11 07:34:43

8. I think it is the best article for freshers.thanks
View Tutorial          By: srikanth at 2010-11-01 23:27:53

9. plzzz xplain all d buzzwads.....
View Tutorial          By: sindhu at 2010-12-10 08:49:27

10. Very Easy To Understand
View Tutorial          By: Najeeb at 2011-06-09 04:12:34