You can use the javamail package,
a nice article with some sample code.
http://www.javaworld.com/javaworld/jw-10-2001/jw-1026-javamail.html
Or you can do a search on http://java.sun.com for javamail
danny
Wendy Cameron wrote:
How do you send an email from inside a servlet using the struts
Use the standard JavaMail package. Look at http://java.sun.com/products/javamail/.
-Original Message-
From: Wendy Cameron [mailto:[EMAIL PROTECTED]]
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
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
'
Subject: RE: Emails
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
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:
-Original Message-
From: news [mailto:[EMAIL PROTECTED]]On Behalf Of V. Cekvenich
Sent: 03 December 2002 22:27
To: [EMAIL PROTECTED]
Subject: Re: Emails
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
, RANAPRATAP REDDY [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 7:46 AM
To: 'Struts Users Mailing List'
Subject: RE: Emails
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
this, and no 'best' way.
--joe
-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 3:02 PM
To: Struts Users Mailing List
Subject: RE: Emails
Nice idea
I have a similar async job that does a series of searches of
the internet
8 matches
Mail list logo