However, even when using javamail, emailing from JSP isn't obvious.
Of course you can do it, but in that case, your whole code is in between <%
%> with lot's of println("blablabla ") statements and you're not really
doing JSP. That's a plain servlet ;-)

It would be very nice if you could use a JSP approach to sending email.

Here's what I'd like to do:
Make a servlet that takes address and subject as a parameter and also a URL
to a JSP page.
the servlet makes a URLConnection to that JSP and routes the result to an
email.
that way you can use create your emails like you create JSP. Isn't that
wonderful?
But before I do this: has anyone else made this servlet? ;-)

I'll keep you informed when it's ready.

Geert 'Darling' Van Damme


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Germ�n L�pez Castro
Sent: woensdag 3 mei 2000 12:26
To: [EMAIL PROTECTED]
Subject: Re: Emailling within JSP


Hi, you all.

I've heard you talking 'bout Javamail... What's it? How can I use it?

Thanxalot.








Consigue tu direcci�n de email gratis y permanente en http://WWW.LETTERA.NET
========================= To unsubscribe: mailto [EMAIL PROTECTED] with
body: "signoff JSP-INTEREST". 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=P
http://www.jguru.com/jguru/faq/faqpage.jsp?name=rvlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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