You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2006/08/21 15:33:03 UTC

[DAISY] Updated: Sendmail Logicsheet

A document has been updated:

http://cocoon.zones.apache.org/daisy/legacydocs/508.html

Document ID: 508
Branch: main
Language: default
Name: Sendmail Logicsheet (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 8/21/06 1:33:00 PM
Updated by: Helma van der Linden

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 9717 bytes (previous version: 8857 bytes)
Content diff:
(33 equal lines skipped)
    existing.</p>
    
    <pre>
--- 
    &lt;builtin-logicsheet&gt;
      &lt;parameter name="prefix" value="sendmail"/&gt;
      &lt;parameter name="uri" value="http://apache.org/cocoon/sendmail/1.0"/&gt;
(15 equal lines skipped)
    like this:</p>
    
    <pre>
--- 
    &lt;xsp:page language="java"
      xmlns:xsp="http://apache.org/xsp"
      xmlns:sendmail="http://apache.org/cocoon/sendmail/1.0"&gt;
(15 equal lines skipped)
    mailing list. The XSP page is invoked from a HTML form like this.</p>
    
    <pre>
--- 
    &lt;form action="/cocoon/xsp/mail/send-a-mail" method="post"
          enctype="multipart/form-data"&gt;
    
(19 equal lines skipped)
    is invoked:</p>
    
    <pre>
--- 
    &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
    &lt;xsp:page language="java"
        xmlns:xsp="http://apache.org/xsp"
(66 equal lines skipped)
    <p>All of the Sendmail logicsheet elements, in alphabetic order.</p>
    
    <table>
+++ <tbody>
    <tr>
    <th>
    <p>Element Name</p>
(96 equal lines skipped)
    comma separated email addresses.</p>
    </td>
    </tr>
+++ </tbody>
    </table>
    
    <h1>Hint</h1>
    
    <p>Please read this <a href="daisy:427#hint">hint</a>, since it applies here as
    well.</p>
    
+++ <h1>Probable solution to SendMail not working</h1>
+++ 
+++ <p>If you have setup your SendMail action in Cocoon 2.1.8 or 2.1.9 or more
+++ recent and it doesn't work although the result of the action is
+++ <strong>success</strong>, the problem might lie</p>
+++ 
+++ <p>in the existence of the Geronimo files. Due to licensing problems it was not
+++ possible to include Sun's mail API jars, but without Cocoon wouldn't compile.
+++ Therefore, we included the Geronimo jars.</p>
+++ 
+++ <p>What you should do is:</p>
+++ 
+++ <ul>
+++ <li>Download theĀ <a href="http://java.sun.com/products/javamail/"> JavaMail</a>
+++ andĀ <a href="http://java.sun.com/products/javabeans/glasgow/jaf.html">
+++ JavaBeans Activation Framework (JAF)</a> API's from Sun to work.</li>
+++ <li>Add them to WEB-INF/lib.</li>
+++ <li>Remove geronimo-spec-javamail-*.jar and geronimo-spec-activation-*.jar from
+++ WEB-INF/lib.</li>
+++ </ul>
+++ 
    </body>
    </html>