File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Java Mailing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java Mailing" Watch "Java Mailing" New topic

Java Mailing

Aswathi Menon

Joined: Oct 30, 2001
Posts: 1
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

Joined: Apr 11, 2001
Posts: 96
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
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.

SPECIALIST-WCSV5.1 Implementation.<br />SYSTEMS EXPERT-WAS4.0 Administration
Jesper Ottosson
Ranch Hand

Joined: Mar 21, 2000
Posts: 51
this helped me a lot once:
Jayson Falkner
Ranch Hand

Joined: May 07, 2001
Posts: 57
Check out this JSP and JavaMail Tutorial

Jayson Falkner<br /><br />Author of <a href="" target="_blank" rel="nofollow">Servlets and JavaServer Pages; the J2EE Web Tier</a>
I agree. Here's the link:
subject: Java Mailing
It's not a secret anymore!