Mathew Olsen GCS wrote:
>
> I am looking for jsp code that will take input from a form and
> send that input to a specified e-mail account.
>
> Has anyone done this before?
Many times, and it's been well discussed on this list. There's an
example on http://www.servlets.com in the Chapter 13 section. It's a
servlet example, not a JSP, but no real difference.
Also check out com.oreilly.servlet.MailMessage on the site for an
alternative mail-sending utility class. It's more portable than
SmtpClient and easier to use than JavaMail.
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html