On Tue, 13 Nov 2001, Martin van den Bemt wrote:

> Date: Tue, 13 Nov 2001 22:49:12 +0100
> From: Martin van den Bemt <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: RE: UnknownHostException thrown from SmtpClient
>
> 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).

That's exactly what your local SMTP server (sendmail or whatever) does for
you.  Why reinvent the wheel?

> 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)
>

See my previous response for a pointer to the Tomcat 4 docs about this.

> Have fun remodeling ;))
>
> Mvgr,
> Martin
>

Craig


>
> > -----Original Message-----
> > From: felix [mailto:[EMAIL PROTECTED]]
> > 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" <[EMAIL PROTECTED]>
> > > Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > Date: Tue, 13 Nov 2001 22:21:23 +0100
> > > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > 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:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to