cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grégory Roche <>
Subject Cocoon 2.2 and sendmail
Date Mon, 09 May 2011 06:50:47 GMT


I'm trying send email with Cocoon 2.2. 

So, I have in my pom.xml the dependency : 


and in my sitemap.xmap, I have my tramsformer sendmail : 

     <map:transformer name="sendmail" 

and a pipeline for my test : 

      <map:match pattern="sendmail">
        <map:generate src="xdocs/sendmail.xml"/>
        <map:transform src="stylesheets/sendmail.xsl">       
          <map:parameter name="name" value="{request-param:name}"/>                
          <map:parameter name="email" value="{request-param:email}"/>
          <map:parameter name="id" value="{session:id}"/>
        <map:serialize type="xml"/>

I'm sure that my params are good :)

But then I send an email, I have nothing in my email box !!! 

So, I can read (on

"NOTE: The SendMailTransformer needs the JavaMail[1] and JavaBeans Activation Framework (JAF)[2]
API's from Sun to work. Add them to WEB-INF/lib. Remove geronimo-spec-javamail-*.jar and geronimo-spec-activation-*.jar
from WEB-INF/lib." 

but I don't have a repertory WEB-INF/lib, I have just a COB-INF and META-INF ! 

Have you got an idea ? Where can I put my .jar ? 

G. R.
fixe : +33 (0)
port : +33 (0)


View raw message