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
#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-
> >
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
Daniel, we have several applications (both web and others) which send email for
various reasons.
We queue up the email messages in a database and allow a separate process to sift
through
the queue (every 30 seconds) and send any unsent messages.
This way we avoid the threading issue in the appl
-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
&
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
> 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
less of wether the 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 Li
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
> 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?
10 matches
Mail list logo