Well, thanks for the suggestion, but it didn't end up working either.

I added this:
       <map:transformers default="xslt">
<map:transformer name="sendmail" src="org.apache.cocoon.mail.transformation.SendMailTransformer" logger="sitemap.transformer.sendmail"/>
       </map:transformers>
and:
                   <map:transform type="sendmail" src="sendmail.xml"/>
and then used the transformer from http://codeconsult.ch/bertrand/archives/000571.html (after changing a few simple things such as the smtp server, of course).

It actually gives me no error at all. The page renders correctly and no errors are written to the rendered page, the shell that is running Jetty or build/webapp/WEB-INF/logs. Seems weird to me....

Could this possibly have something to do with Java versions? I'm using j2sdk 1.4.2_10 with Cocoon 2.1.8.

Another funny thing, when I'm starting Jetty, I see the following lines:
10:35:05.204 EVENT Cocoon: Adding class library file:/home/bmaddy/src/cocoon-2.1.8/build/webapp/WEB-INF/lib/cocoon-mail-block.jar 10:35:05.551 EVENT Cocoon: Adding class library file:/home/bmaddy/src/cocoon-2.1.8/build/webapp/WEB-INF/lib/activation.jar 10:35:06.013 EVENT Cocoon: Adding class library file:/home/bmaddy/src/cocoon-2.1.8/build/webapp/WEB-INF/lib/mail.jar

So it seems as if the appropriate jar files are being loaded...

Anyone know where to look next for this?

Thanks,
Brian


Bertrand Delacretaz wrote:

Le 13 févr. 06, à 16:54, Brian Maddy a écrit :

...Is the sendmail transformer one of those or is it something I haven't found yet?...


It's yet another component - there's an example on my weblog at http://codeconsult.ch/bertrand/archives/000571.html.

They're all using the same base code IIUC (haven't checked precisely though), so the main difference is in the way the interfaces to these components.

-Bertrand


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to