jQuery in Action, 3rd edition
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
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 http://java.sun.com/products/javamail/FAQ.html#gmail.

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 http://mail.google.com/support/bin/answer.py?answer=14257 l27sm13168474waf.55

Did you follow that link?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link: http://aspose.com/file-tools
subject: Encountering SMTPSendFailedException with SendMailServlet
jQuery in Action, 3rd edition