One thing to consider..... if you like MVC.

What I do is save e-mail to an e-mail table in DB.
Then I have a console async process in a cron job select all e-mail that was not flaged as sent.

(I also do RSS same way).

It just works better form me this way.

.V

VEDRE, RANAPRATAP REDDY wrote:
sending a mail from struts action is no different from sending a mail from
any HttpServlet.

u can use JSTL mail library if u want to do it in jpp , but the best option
would be to use JavaMail API as u want inside a servlet.

-rana.



-----Original Message-----
From: Wendy Cameron [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 4:42 PM
To: Struts Users Mailing List (E-mail)
Subject: Emails


How do you send an email from inside a servlet using the struts framework?

Does anyone know of some sample code etc? or a good tutorial?

Regards Wendy

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to