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
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
-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
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
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?
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.
--
11 matches
Mail list logo