File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encountering SMTPSendFailedException with SendMailServlet

 
Michael K. Wilson
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

http://localhost:8080/myapp/sendmail

SendMail.java:


Encountered the following exception:



Would appreciate it if someone could help...

Happy programming,

Mike
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

# 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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic