• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Mailing

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to send mail using servlet or jsp on submitting a web page .I also want to know how to update database from the same page on another link
 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
for sending mails from servlet or jsp u shud import the javax.mail.*; package,it is present in the java mail api.
this has the following jar files
mail.jar
mailapi.jar
activation.jar
pop.jar
smtp.jar
u need to use the first two only,if i am not wrong.
first download the java mail api,from any site.and then use the package javax.mail.*
hope this wud have been usefull.
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this helped me a lot once:
http://developer.java.sun.com/developer/onlineTraining/JavaMail/contents.html
 
Author
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out this JSP and JavaMail Tutorial
http://www.jspinsider.com/tutorials/jsp/javamail/jspjavamail_intro.view
 
reply
    Bookmark Topic Watch Topic
  • New Topic