File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes Encountering SMTPSendFailedException with SendMailServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Encountering SMTPSendFailedException with SendMailServlet" Watch "Encountering SMTPSendFailedException with SendMailServlet" New topic

Encountering SMTPSendFailedException with SendMailServlet

Michael K. Wilson
Ranch Hand

Joined: Apr 23, 2008
Posts: 45
Hello there,

Am trying to write a simple servlet which will send a sample e-mail through G-Mail...

BTW, I did follow the instructions posted on

Am using JDK 1.5.0, JavaMail 1.4, JAF 1.1.1 and when I deploy to my app server and click on:


Encountered the following exception:

Would appreciate it if someone could help...

Happy programming,

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

# 530-5.5.1 Authentication Required. Learn more at
# 530 5.5.1 l27sm13168474waf.55

Did you follow that link?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Encountering SMTPSendFailedException with SendMailServlet
It's not a secret anymore!