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. Please note that the above code does not work with
View Tutorial          By: mk at 2012-02-14 15:37:02

2. ...indeed its a helpful brief explanation, coz our
View Tutorial          By: elaine22 at 2010-01-22 01:27:16

3. Sir , I am doing MSc(swe) . I want to know more ab
View Tutorial          By: guru prakash at 2009-10-15 09:10:05

4. Your explanation is good but, it will be better i
View Tutorial          By: Jabaraj at 2010-03-22 06:02:33

5. i want to study java
View Tutorial          By: doshyo at 2007-12-13 07:41:03

6. What if I wanted POST instead of GET?
View Tutorial          By: Otto at 2011-06-12 15:38:50

7. thanx nice explanation...
View Tutorial          By: vignesh at 2012-07-15 20:12:22

8. Excellent explanation. How can I take input from t
View Tutorial          By: Joe at 2013-03-31 11:02:28

9. This Example program is very useful.
good w

View Tutorial          By: sathya at 2008-03-28 02:21:41

10. hi everybody....

please use comm.j

View Tutorial          By: manoj at 2012-09-24 10:41:34