Two Laptop Bag
The moose likes Other JSE/JEE APIs and the fly likes Automatic Mail sending Process... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Automatic Mail sending Process..." Watch "Automatic Mail sending Process..." New topic

Automatic Mail sending Process...

thambi durai

Joined: Jan 30, 2008
Posts: 6
i want to implement automatic Mail sending process in my project using Jsp..

can any one help me...
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
You should not put code like this into a JSP (which is meant for generating text, mostly HTML, but not for embedding program logic). Use a servlet (or a JSP backing bean) instead.

The Java API for sending mail is called JavaMail. The JEE FAQ has a number of helpful links regarding JavaMail, e.g. an introduction with many code examples.

Do you already have a mail server you can use?
I agree. Here's the link:
subject: Automatic Mail sending Process...
jQuery in Action, 3rd edition