GeeCON Prague 2014*
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


JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Automatic Mail sending Process..." Watch "Automatic Mail sending Process..." New topic
Author

Automatic Mail sending Process...

thambi durai
Greenhorn

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
Marshal

Joined: Mar 22, 2005
Posts: 42022
    
  64
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?


Ping & DNS - my free Android networking tools app
 
 
subject: Automatic Mail sending Process...