• 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
  • Tim Cooke
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • 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?
 
Would you like to try a free sample? Today we are featuring tiny ads:
Master Gardener Program
https://coderanch.com/t/771761/Master-Gardener-Program
reply
    Bookmark Topic Watch Topic
  • New Topic