Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Encountering SMTPSendFailedException with SendMailServlet

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 need a new interior decorator. This tiny ad just painted every room in my house purple.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic