Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Mailing

 
Aswathi Menon
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
mahadevan raja
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • 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.
 
Jesper Ottosson
Ranch Hand
Posts: 51
 
Jayson Falkner
Author
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this JSP and JavaMail Tutorial
http://www.jspinsider.com/tutorials/jsp/javamail/jspjavamail_intro.view
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic