Michael:

I've got a class that does that from our Expresso App Framework (e.g. allows
you to specify an email attachment, and is built on JavaMail), in fact it's
built into a little utility program that can e-mail all the files in a given
directory to a user, invokable from the command line. If you like I can
email you just that bit directly, or you can download the whole framework
(it's open source) from our site at http://www.javacorporate.com. The class
you're looking for is MailFiles.java in the com.javacorporate.common.server
package.

Let me know!

Mike Nash
Javacorporate Ltd

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's
> Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mike
> Winterbottom
> Sent: Wednesday, August 25, 1999 2:53 PM
> To: [EMAIL PROTECTED]
> Subject: FW: Accommodating email attachments
>
>
> I don't believe that using JavaMail would be "reinventing the
> wheel" ...
> It's just that our current implementation was done prior to the
> availability of
> JavaMail.  I thought the least intrusive approach would be to replace
> the
> "mail sender" object I referenced below.  So I have 2 choices
> .... write
> it
> myself using JavaMail, or research commercial availability.
> Would then
> tradeoff the value of my time (download and install JavaMail and JAF,
> learn
> the API, and develop the object) versus the price of the commercial
> alternative.
> And if a commercial alternative does exist that already leverages the
> JavaMail API, then that's the wheel I would be re-inventing ...
>
> //  Mike
>
>
> > -----Original Message-----
> > From: Chris Pratt [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 25, 1999 11:50 AM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: Accommodating email attachments
> >
> > Why do you think that using JavaMail is reinventing the wheel?
> > JavaMail is
> > the wheel when you're talking about accessing email from Java.
> > JavaMail is
> > a fairly clean, powerful API that provides (pretty much) all the
> > capabilities you will need to send ugly text only messages, pretty
> > HTML
> > messages, messages with multiple attachments, etc.  I'd be
> interested
> > in
> > finding out why people think the JavaMail is so difficult,
> it took me
> > about
> > one half hour to get my first simple test program working with it.
> >     (*Chris*)
> >
> > ----- Original Message -----
> > From: Mike Winterbottom <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 25, 1999 9:05 AM
> > Subject: Accommodating email attachments
> >
> >
> > > I'm currently doing server-side email using a Java class purchased
> > from
> > > LiveSoftware.... i.e., Servlet instantiates the "email
> sender" class
> > and
> > > then
> > > passes contents of the email composition HTML form to the
> resulting
> > > object.
> > >
> > > My question:  The "email sender" Java class we purchased from
> > > LiveSoftware does not accommodate email attachments.  Anyone know
> > > of any commercially available Java classes that WOULD allow for
> > > attachments?  (I realize I could dig into JavaMail, etc. but would
> > > rather
> > > not reinvent the wheel if it's out there someplace.)
> > >
> > > // Michael Winterbottom
> > >
> > >
> >
> ______________________________________________________________________
> > _____
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> > the
> > body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives:
> > http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources:
> > http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > >
> >
> >
> ______________________________________________________________________
> > _____
> > To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the
> > body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
> http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> > http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to