cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@infoplanning.com>
Subject Re: Sending Mail from XSP
Date Tue, 26 Sep 2000 18:30:00 GMT
----- Original Message ----- 
From: "Torsten Curdt" <tcurdt@dff.st>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, September 26, 2000 1:55 PM
Subject: RE: Sending Mail from XSP


> > > > > > I know there is a mail.xsp tag sheet, but it looks like checking
> > > > > > mail boxes.
> > > > > 
> > > > > grab Sun's mail.jar + activation.jar it's quite easy...
> > > > 
> > > > What properties and such have to be set?
> > > > Can you send me some code to get me started?
> > > > 
> > > > I keep getting exceptions.
> > > Then catch 'em ;) 
> > > 
> > > ...sorry, I don't have anything here....
> > > 
> > > I remember you have to create Properties
> > > and a Session and then you can create your
> > > mail.
> > > 
> > > Check the excellent documentation...
> > 
> > The docs aren't that great, and I keep getting
> > the exceptions that are generated by the XSP system
> > which I can't catch.
> 
> Sorry I don't have my sources here... but
> there was a big pdf (60 pages or more) and
> some examples. Maybe you missed them at sun?
> 
> Why don't you try a simples test class first?

Ok. Finally!

mail.jar and activation.jar have to be in classpath--
either in Tomcat/lib or main classpath.

I also had some typos... but they are fixed now.

Enclosed is a copy of the file with names modified
to protect the innocent.

Mime
View raw message