Shafquat Ullah Khan wrote:
>
> Hi all
> If any one have any idea how to send emails through the JSP pages
> pls let me know. As I am new in this I need help from you guys.

You can use any Java API in JSP, ideally through a bean or a custom
action, so for sending mail I recommend that you take a look at the
JavaMail API. There are also many tag libraries that contain mail
custom actions that you can use, for instance the Jakarta Taglibs
project: <http://jakarta.apache.org/taglibs/>

If you don't mind a commercial product, take a look at our
InstantOnline Basic tag library:

  <http://www.gefionsoftware.com/InstantOnline/Basic/>

It contains among other things a tag for sending email, and you can
easily use it with a recipient list that you get from a database,
personalize each mail with database info, send attachments, inline
HTML pages, etc.

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to