Re: how to send an email

2004-10-13 Thread Richard
thanks i think you're correct with that assesment. On Wed, 13 Oct 2004 17:52:46 +0900, Shinobu Kawai <[EMAIL PROTECTED]> wrote: > > Hi richard, > > > I have a form submitted to an action class and i need the information > > on the form to be emailed > > to some email address. how can i do this

Re: how to send an email

2004-10-13 Thread Richard
thanks i guess ill just modify and reuse this. On Wed, 13 Oct 2004 09:43:39 +0100, Duncan Mills <[EMAIL PROTECTED]> wrote: > Its pretty simple to plug in the JavaMail API - here's a Utility class I > call from an Action I use when resetting a User Password: It's quick and > dirty but provides an

Re: how to send an email

2004-10-13 Thread Shinobu Kawai
Hi richard, > I have a form submitted to an action class and i need the information > on the form to be emailed > to some email address. how can i do this ? can it be done inside the > same action? Check this out: http://jakarta.apache.org/commons/sandbox/email/ Makes life a lot easier. ;)

Re: how to send an email

2004-10-13 Thread Richard
thanks On Wed, 13 Oct 2004 14:16:07 +0530, Kailash Vasani <[EMAIL PROTECTED]> wrote: > Sending of email can be done from Action class. > all you need to know is how to send email using javamail API. > start from here > > http://java.sun.com/products/javamail/ > > > > -Original Message

Re: how to send an email

2004-10-13 Thread Duncan Mills
Its pretty simple to plug in the JavaMail API - here's a Utility class I call from an Action I use when resetting a User Password: It's quick and dirty but provides an example. The SMTP mail host is read from a properties file in this case, but equally could be passed in from the Appliciation

RE: how to send an email

2004-10-13 Thread Kailash Vasani
Sending of email can be done from Action class. all you need to know is how to send email using javamail API. start from here http://java.sun.com/products/javamail/ -Original Message- From: Richard [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 1:48 PM To: Struts Users Mailin