RE: sending emails from a struts app

2004-05-19 Thread Daniel Perry
duh... attachment seemed to get lost BackgroundSender.java follows: /* * Created on 19-May-2004 * */ package org.apache.commons.mail; import javax.mail.MessagingException; /** * A class to send messages in the background. Compose the mail as normal, then * use the static method: Backgro

RE: sending emails from a struts app

2004-05-19 Thread Daniel Perry
#x27;Struts Users Mailing List' > Subject: RE: sending emails from a struts app > > > daniel, > > perhaps here are some more ideas for you: > http://jakarta.apache.org/commons/sandbox/email/ > > Cheers, > Matze > > > -Original Message- > >

Re: sending emails from a struts app

2004-05-18 Thread Mark Lowe
e user is still there or not. This is what i want to acheive. I cant have the user submitting a request, and then stopping it part way through. Daniel. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 18 May 2004 17:32 To: Struts Users Mailing List Subject: Re: se

RE: sending emails from a struts app

2004-05-18 Thread Robert Taylor
applications and we have an audit trail for emails sent. hth, robert > -Original Message- > From: Daniel Perry [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 18, 2004 12:14 PM > To: Struts User List > Subject: sending emails from a struts app > > > I need to send

RE: sending emails from a struts app

2004-05-18 Thread Matthias Wessendorf
-Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: 18 May 2004 17:52 > To: 'Struts Users Mailing List' > Subject: RE: sending emails from a struts app > > > > > This is what i want to acheive. I cant have the user submitting a &

RE: sending emails from a struts app

2004-05-18 Thread Daniel Perry
st' Subject: RE: sending emails from a struts app > This is what i want to acheive. I cant have the user > submitting a request, and then stopping it part way through. This is what you get. The browser simply says, "Do this". And you do. There is no Mechanism for the user to sa

RE: sending emails from a struts app

2004-05-18 Thread Joe Hertz
> This is what i want to acheive. I cant have the user > submitting a request, and then stopping it part way through. This is what you get. The browser simply says, "Do this". And you do. There is no Mechanism for the user to say, "No! Stop! Don't!". You may never get the request if there is a

RE: sending emails from a struts app

2004-05-18 Thread Paul-J Woodward
t; cc: Subject: RE: sending emails from a struts app JavaMail - no problem... found loads of examples. With regards to the canceling of requests, i'm not sure what you're saying - are you saying 1. your code will stop on browser cancels and there's nothin

RE: sending emails from a struts app

2004-05-18 Thread Daniel Perry
ve. I cant have the user submitting a request, and then stopping it part way through. Daniel. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 18 May 2004 17:32 To: Struts Users Mailing List Subject: Re: sending emails from a struts app > I need to send out e

Re: sending emails from a struts app

2004-05-18 Thread James Mitchell
> I need to send out emails from a struts app. > > Any comments on the best way to go about this? Yes, use JavaMail: http://java.sun.com/products/javamail/ http://www.j2eeolympus.com/J2EE/JavaMail/JavaMail.jsp > > As sending mail can be slow, is there an easy way to do this in the > background?

sending emails from a struts app

2004-05-18 Thread Daniel Perry
I need to send out emails from a struts app. Any comments on the best way to go about this? As sending mail can be slow, is there an easy way to do this in the background? What happens if a client cancels a request part way through? is there any way to handle this / ignore cancels? Daniel. --