tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Barnes <kbar...@iamx.com>
Subject Re: UnknownHostException thrown from SmtpClient
Date Tue, 13 Nov 2001 22:10:29 GMT
Tomcat 4 comes with the necessary jar files (mail.jar and activation.jar) for
using javamail in the common\lib directory. If you download the javamail 1.2
API from Sun it comes with many examples of how to use it in it's demo
directory.

-kb

Martin van den Bemt wrote:

> I like the idea of a queue which holds the mails and tries until it works
> (didn't have time to do that myself, just catching everything and not
> throwing any exceptions, just logging to a mail log file if it doesn't
> succeed).
> So it depends on your time you can invest in it I guess..
> I read somewhere that tomcat 4 has build in support for javamail and offers
> services to send mail via javamail. I think searching on javamail on the
> online backups of mailinglist backup might turn up some info. (eg
> http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2)
>
> Have fun remodeling ;))
>
> Mvgr,
> Martin
>
> > -----Original Message-----
> > From: felix [mailto:felix@crucial-systems.com]
> > Sent: Tuesday, November 13, 2001 10:43 PM
> > To: Tomcat Users List
> > Subject: Re: UnknownHostException thrown from SmtpClient
> >
> >
> >
> > Thanks, I think that's what needs to be done anyway.
> >
> > on a related topic,
> > I've been trying to figure out if JavaMail threads / forks when it sends.
> >
> > Or if its worth writing an Emailer (implements Runnable) that would just
> > take care of its business and let tomcat go on its merrry way.
> >
> > the user doesn't need to know what we are emailing or if it succeeds.
> >
> > anybody have any thoughts on that ?  extra thread overhead ? waste of my
> > time ?
> >
> >
> > > From: "Martin van den Bemt" <martin@isallineed.org>
> > > Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> > > Date: Tue, 13 Nov 2001 22:21:23 +0100
> > > To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> > > Subject: RE: UnknownHostException thrown from SmtpClient
> > >
> > > Use JavaMail instead.. The SmtpClient (at least if that is the one in
> > > com.sun or sun.) is as far as I know not even supported..
> > > Never had any problems with that, unless the jvm couldn't find
> > a host in the
> > > first place, it tends to never find it again.
> > >
> > > Mvgr,
> > > Martin
> >
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> >
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message