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



Comment Added by : Phyo Phyo

Comment Added at : 2009-09-14 05:32:28

Comment on Tutorial : Sending Email from Java application (JavaMail sample program) By Narayanan
Hello,
I've tried the above code, but I've ended up in the following error.

com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. 7sm4905442agd.3

at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1333)
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 testing.MailTest.main(MailTest.java:49)

Could anyone help me?
Thanks and best regards.


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. Very good description. I was quite confused before
View Tutorial          By: Donna at 2011-07-31 03:46:05

2. Thanks.
View Tutorial          By: Joe at 2011-12-07 11:41:14

3. good......
View Tutorial          By: Sudip Khatiwara at 2010-04-05 22:31:06

4. sir, i am completed MCA 2011 and i want to learn P
View Tutorial          By: vipin kumar at 2011-09-13 13:00:05

5. can i get some basic examples of java program
View Tutorial          By: raja at 2013-06-04 10:47:12

6. where is the main class .
View Tutorial          By: rishi at 2015-10-02 10:17:17

7. very brief and easy to understand description of R
View Tutorial          By: moona at 2010-05-26 22:49:26

8. Thanks for providing detailed information .
View Tutorial          By: CM Mankar at 2008-03-18 04:37:03

9. thanks
View Tutorial          By: sowmya at 2012-07-10 14:22:50

10. In the above, Masking sign extension program, Plea
View Tutorial          By: Praful at 2012-09-06 06:30:16