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. sir, i want if,if else,nested if..... concept in o
View Tutorial          By: krishna at 2015-08-14 08:58:01

2. when I exported the data to excel there is a value
View Tutorial          By: mizhelle at 2015-10-10 13:17:56

3. thank you, this best for student like us,
View Tutorial          By: Srinath at 2012-05-12 15:04:03

4. Simple file writer example. .............
<

View Tutorial          By: Chezhian TK at 2010-10-14 21:40:16

5. I need one help how to update particular column da
View Tutorial          By: santhosh.s at 2015-01-22 15:09:33

6. This is a great idea if I am targeting the require
View Tutorial          By: Shanthamurthy Hanumantharayappa at 2015-09-14 16:45:22

7. someone explain how to use PreparedStatements with
View Tutorial          By: Manikprabhu at 2011-03-26 00:04:54

8. Rattling explanation .....thnx brother
View Tutorial          By: zorro at 2011-06-16 05:05:43

9. Hi , I like ur explanation but I need to knw wat i
View Tutorial          By: prabhakara at 2010-09-22 06:28:13

10. Gooooooooooodd !!!
View Tutorial          By: Digvijoyee at 2010-08-30 22:11:31